From: <ha...@us...> - 2010-03-24 12:04:20
|
Revision: 12686 http://jmol.svn.sourceforge.net/jmol/?rev=12686&view=rev Author: hansonr Date: 2010-03-24 12:04:13 +0000 (Wed, 24 Mar 2010) Log Message: ----------- provisional GenNBO file reader Modified Paths: -------------- trunk/Jmol/src/org/jmol/adapter/readers/quantum/NBOReader.java Modified: trunk/Jmol/src/org/jmol/adapter/readers/quantum/NBOReader.java =================================================================== --- trunk/Jmol/src/org/jmol/adapter/readers/quantum/NBOReader.java 2010-03-24 11:59:39 UTC (rev 12685) +++ trunk/Jmol/src/org/jmol/adapter/readers/quantum/NBOReader.java 2010-03-24 12:04:13 UTC (rev 12686) @@ -249,6 +249,7 @@ for (int i = 0; i < n; i++) { char c = data.charAt(i); switch (c) { + case '(': case '-': if (data.charAt(i + 1) == ' ') i++; @@ -260,6 +261,7 @@ } sb.append(c); } + System.out.println(sb); tokens = getTokens(sb.toString()); for (int i = 0; i < nOrbitals; i++) { Hashtable mo = (Hashtable) orbitals.get(i); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |