Revision: 20471
          http://sourceforge.net/p/jmol/code/20471
Author:   hansonr
Date:     2015-04-30 18:24:08 +0000 (Thu, 30 Apr 2015)
Log Message:
-----------
Jmol.___JmolVersion="14.3.13_2015.04.30d"

bug fix: reading Molden file with no MOs crashes Jmol

Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/script/ScriptEval.java
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: trunk/Jmol/src/org/jmol/script/ScriptEval.java
===================================================================
--- trunk/Jmol/src/org/jmol/script/ScriptEval.java      2015-04-30 16:56:09 UTC 
(rev 20470)
+++ trunk/Jmol/src/org/jmol/script/ScriptEval.java      2015-04-30 18:24:08 UTC 
(rev 20471)
@@ -2002,7 +2002,7 @@
     for (int i = 0; i < modelCount; i++) {
       Map<String, Object> moData = (Map<String, Object>) vwr
           .ms.getInfo(i, "moData");
-      if (moData == null)
+      if (moData == null || !moData.containsKey("mos"))
         continue;
       sb.appendI(((Lst<Map<String, Object>>) moData.get("mos")).size())
           .append(" molecular orbitals in model ")

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-04-30 16:56:09 UTC 
(rev 20470)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-04-30 18:24:08 UTC 
(rev 20471)
@@ -14,8 +14,12 @@
 
 TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT 
command for problems)
 
-Jmol.___JmolVersion="14.3.13_2015.04.30c"
+Jmol.___JmolVersion="14.3.13_2015.04.30d"
 
+bug fix: reading Molden file with no MOs crashes Jmol
+
+JmolVersion="14.3.13_2015.04.30c"
+
 bug fix: color $id [30 40 50] translucent 0.8  fails
 bug fix: Jmol.jar was requiring Java 1.7
 bug fix: POV-Ray fixed for perspective and orthographic cameras using new 
z-depth formula.

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


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to