Revision: 18573 http://sourceforge.net/p/jmol/code/18573 Author: hansonr Date: 2013-08-14 15:05:40 +0000 (Wed, 14 Aug 2013) Log Message: -----------
Modified Paths: -------------- trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java Modified: trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java =================================================================== --- trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java 2013-08-14 14:50:35 UTC (rev 18572) +++ trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java 2013-08-14 15:05:40 UTC (rev 18573) @@ -393,6 +393,7 @@ BS bs) { if ("".equals(tensorType)) tensorType = null; + infoType = (infoType == null ? ";all." : ";" + infoType + "."); JmolList<Object> data = new JmolList<Object>(); JmolList<Object> list1; if (";dc.".equals(infoType)) { Modified: trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java =================================================================== --- trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java 2013-08-14 14:50:35 UTC (rev 18572) +++ trunk/Jmol/src/org/jmol/script/ScriptMathProcessor.java 2013-08-14 15:05:40 UTC (rev 18573) @@ -843,11 +843,10 @@ return false; BS bs = SV.getBitSet(getX(), false); String tensorType = (args.length == 0 ? null : SV.sValue(args[0]).toLowerCase()); - String infoType = ";" - + (args.length < 2 ? "all" : SV.sValue(args[1]).toLowerCase()) + "."; JmolNMRInterface calc = viewer.getNMRCalculation(); if ("unique".equals(tensorType)) return addXBs(calc.getUniqueTensorSet(bs)); + String infoType = (args.length < 2 ? null : SV.sValue(args[1]).toLowerCase()); return addXList(calc.getTensorInfo(tensorType, infoType, bs)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits