Revision: 18456 http://sourceforge.net/p/jmol/code/18456 Author: hansonr Date: 2013-07-18 11:25:07 +0000 (Thu, 18 Jul 2013) Log Message: ----------- ___JmolVersion="13.1.19_dev_2013.07.18a"
new feature: property_cs is chemical shift and can be returned with label %[cs] NOT -- unnecessary Modified Paths: -------------- trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java Modified: trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java =================================================================== --- trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java 2013-07-18 11:19:21 UTC (rev 18455) +++ trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java 2013-07-18 11:25:07 UTC (rev 18456) @@ -333,8 +333,8 @@ } public float getChemicalShift(Atom atom) { - float v = viewer.getDataFloatAt("property_cs", atom.index); - if (!Float.isNaN(v) || Float.isNaN(v = getMagneticShielding(atom))) + float v = getMagneticShielding(atom); + if (Float.isNaN(v)) return v; Float ref = shiftRefsPPM.get(atom.getElementSymbol()); return (ref == null ? 0 : ref.floatValue()) - v; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits