On Thu, Apr 17, 2008 at 10:14 AM, Noel O'Boyle <[EMAIL PROTECTED]> wrote:
> Thanks for the explanation. I'm still disappointed that trunk CDK is
> not able to calculate the molecular weight or molecular mass based on
> natural abundances (the two most common measures) by a simple function
> call (rather than having to specify the isotopes myself). Hopefully,
> these will be added by the next release. In the meanwhile, I think it
> is better for me to continue using CDK 1.0.2 where MFAnalyser is able
> to do everything I need.
Submitted to SVN:
formula = MolecularFormulaManipulator.getMajorIsotopeMolecularFormula("C11H17")
MolecularFormulaManipulator.getNaturalExactMass(formula2)
Does that solve your problem?
BTW, you mentioned 'still disappointed'... sorry for having missed
your earlier request...
Egon
--
----
http://chem-bla-ics.blogspot.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user