Skip to content

Commit b299bfb

Browse files
committed
Minor wording changes in doc
1 parent 1f5e6fb commit b299bfb

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

base/standard/src/main/java/org/openscience/cdk/tools/manipulator/AtomContainerManipulator.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,13 @@ private static int getAtomicNum(IElement atom) {
313313
* <br>
314314
* <ul>
315315
* <li>{@link #MolWeight} (default) - uses the exact mass of each
316-
* atom when specified, if not specified the average mass of the element
317-
* is used.</li>
316+
* atom when an isotope is specified, if not specified the average mass
317+
* of the element is used.</li>
318318
* <li>{@link #MolWeightIgnoreSpecified} - uses the average mass of each
319-
* element ignoring any exact mass that has been specified.</li>
320-
* <li>{@link #MonoIsotopic} - uses the exact mass of each atom when
321-
* specified, if not specified the major isotope mass for that
322-
* element is used.</li>
319+
* element, ignoring any isotopic/exact mass specification</li>
320+
* <li>{@link #MonoIsotopic} - uses the exact mass of each
321+
* atom when an isotope is specified, if not specified the major isotope
322+
* mass for that element is used.</li>
323323
* <li>{@link #MostAbundant} - uses the exact mass of each atom when
324324
* specified, if not specified a distribution is calculated and the
325325
* most abundant isotope pattern is used.</li>
@@ -401,13 +401,13 @@ public static double getMass(IAtomContainer mol, int flav) {
401401
* <br>
402402
* <ul>
403403
* <li>{@link #MolWeight} (default) - uses the exact mass of each
404-
* atom when specified, if not specified the average mass of the element
405-
* is used.</li>
404+
* atom when an isotope is specified, if not specified the average mass
405+
* of the element is used.</li>
406406
* <li>{@link #MolWeightIgnoreSpecified} - uses the average mass of each
407-
* element ignoring any exact mass that has been specified.</li>
408-
* <li>{@link #MonoIsotopic} - uses the exact mass of each atom when
409-
* specified, if not specified the major isotope mass for that
410-
* element is used.</li>
407+
* element, ignoring any isotopic/exact mass specification</li>
408+
* <li>{@link #MonoIsotopic} - uses the exact mass of each
409+
* atom when an isotope is specified, if not specified the major isotope
410+
* mass for that element is used.</li>
411411
* <li>{@link #MostAbundant} - uses the exact mass of each atom when
412412
* specified, if not specified a distribution is calculated and the
413413
* most abundant isotope pattern is used.</li>

tool/formula/src/main/java/org/openscience/cdk/tools/manipulator/MolecularFormulaManipulator.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -883,13 +883,13 @@ private static double getMassOrAvg(IsotopeFactory isofact, IIsotope atom) {
883883
* <br>
884884
* <ul>
885885
* <li>{@link #MolWeight} (default) - uses the exact mass of each
886-
* atom when specified, if not specified the average mass of the element
887-
* is used.</li>
886+
* atom when an isotope is specified, if not specified the average mass
887+
* of the element is used.</li>
888888
* <li>{@link #MolWeightIgnoreSpecified} - uses the average mass of each
889-
* element ignoring any exact mass that has been specified.</li>
890-
* <li>{@link #MonoIsotopic} - uses the exact mass of each atom when
891-
* specified, if not specified the major isotope mass for that
892-
* element is used.</li>
889+
* element, ignoring any isotopic/exact mass specification</li>
890+
* <li>{@link #MonoIsotopic} - uses the exact mass of each
891+
* atom when an isotope is specified, if not specified the major isotope
892+
* mass for that element is used.</li>
893893
* <li>{@link #MostAbundant} - uses the exact mass of each atom when
894894
* specified, if not specified a distribution is calculated and the
895895
* most abundant isotope pattern is used.</li>
@@ -952,13 +952,13 @@ public static double getMass(IMolecularFormula mf, int flav) {
952952
* <br>
953953
* <ul>
954954
* <li>{@link #MolWeight} (default) - uses the exact mass of each
955-
* atom when specified, if not specified the average mass of the element
956-
* is used.</li>
955+
* atom when an isotope is specified, if not specified the average mass
956+
* of the element is used.</li>
957957
* <li>{@link #MolWeightIgnoreSpecified} - uses the average mass of each
958-
* element ignoring any exact mass that has been specified.</li>
959-
* <li>{@link #MonoIsotopic} - uses the exact mass of each atom when
960-
* specified, if not specified the major isotope mass for that
961-
* element is used.</li>
958+
* element, ignoring any isotopic/exact mass specification</li>
959+
* <li>{@link #MonoIsotopic} - uses the exact mass of each
960+
* atom when an isotope is specified, if not specified the major isotope
961+
* mass for that element is used.</li>
962962
* <li>{@link #MostAbundant} - uses the exact mass of each atom when
963963
* specified, if not specified a distribution is calculated and the
964964
* most abundant isotope pattern is used.</li>

0 commit comments

Comments
 (0)