From: <ha...@us...> - 2007-02-04 18:51:16
|
Revision: 6700 http://svn.sourceforge.net/jmol/?rev=6700&view=rev Author: hansonr Date: 2007-02-04 10:51:15 -0800 (Sun, 04 Feb 2007) Log Message: ----------- 11.0 nwchem fix Modified Paths: -------------- branches/v11_0/Jmol/src/org/jmol/adapter/smarter/Resolver.java Modified: branches/v11_0/Jmol/src/org/jmol/adapter/smarter/Resolver.java =================================================================== --- branches/v11_0/Jmol/src/org/jmol/adapter/smarter/Resolver.java 2007-02-04 18:29:12 UTC (rev 6699) +++ branches/v11_0/Jmol/src/org/jmol/adapter/smarter/Resolver.java 2007-02-04 18:51:15 UTC (rev 6700) @@ -279,9 +279,6 @@ // these test files that startWith one of these strings //////////////////////////////////////////////////////////////// - final static String[] nwchemRecords = - {" argument 1 = "}; - final static String[] cubeRecords = {"JVXL"}; @@ -292,10 +289,10 @@ {"[HEADER]"}; final static String[][] fileStartsWithRecords = - { nwchemRecords, cubeRecords, mol2Records, webmoRecords}; + { cubeRecords, mol2Records, webmoRecords}; final static String[] fileStartsWithFormats = - { "NWChem", "Cube", "Mol2", "WebMO"}; + { "Cube", "Mol2", "WebMO"}; //////////////////////////////////////////////////////////////// // these test lines that startWith one of these strings @@ -372,14 +369,20 @@ final static String[] adfRecords = { "Amsterdam Density Functional" }; + + final static String[] nwchemRecords = + {" argument 1 = "}; + final static String[][] containsRecords = { xmlRecords, gaussianRecords, mopacRecords, qchemRecords, gamessRecords, spartanBinaryRecords, spartanRecords, mol2Records, adfRecords, + nwchemRecords }; - final static String[] containsFormats = - { "Xml", "Gaussian", "Mopac", "Qchem", "Gamess", "SpartanSmol", "Spartan" , "Mol2", "Adf"}; + { "Xml", "Gaussian", "Mopac", "Qchem", "Gamess", + "SpartanSmol", "Spartan" , "Mol2", "Adf", "NWChem"}; + } class LimitedLineReader { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |