Revision: 21081
          http://sourceforge.net/p/jmol/code/21081
Author:   rkanters
Date:     2016-05-03 19:05:21 +0000 (Tue, 03 May 2016)
Log Message:
-----------
I had not anticipated the EOM transition output section that also contains the 
'Total energy' string...

Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/adapter/readers/quantum/QchemReader.java

Modified: trunk/Jmol/src/org/jmol/adapter/readers/quantum/QchemReader.java
===================================================================
--- trunk/Jmol/src/org/jmol/adapter/readers/quantum/QchemReader.java    
2016-05-02 03:55:42 UTC (rev 21080)
+++ trunk/Jmol/src/org/jmol/adapter/readers/quantum/QchemReader.java    
2016-05-03 19:05:21 UTC (rev 21081)
@@ -97,10 +97,11 @@
       moData = null; // no MO data for this structure
       return true;
     }
-    if (line.indexOf("Total energy")>=0 
-        || line.indexOf("total energy")>= 0 
+    if (line.indexOf("Total energy") >= 0 
+        || line.indexOf("total energy") >= 0 
         || line.indexOf("Energy is") >=0 ){
-      readEnergy();
+      if (line.indexOf("Excitation") == -1) readEnergy(); // Don't do 
excitation energies
+      return true;
     }
     if (line.indexOf("Requested basis set is") >= 0) {
       readCalculationType();

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to