Revision: 18583
          http://sourceforge.net/p/jmol/code/18583
Author:   hansonr
Date:     2013-08-16 16:30:06 +0000 (Fri, 16 Aug 2013)
Log Message:
-----------
___JmolVersion="13.2.4_dev_2013.08.16"

bug fix: CIF reader does not find Hall name for space groups

Modified Paths:
--------------
    branches/v13_2/Jmol/src/org/jmol/adapter/readers/cifpdb/CifReader.java

Modified: branches/v13_2/Jmol/src/org/jmol/adapter/readers/cifpdb/CifReader.java
===================================================================
--- branches/v13_2/Jmol/src/org/jmol/adapter/readers/cifpdb/CifReader.java      
2013-08-16 16:28:33 UTC (rev 18582)
+++ branches/v13_2/Jmol/src/org/jmol/adapter/readers/cifpdb/CifReader.java      
2013-08-16 16:30:06 UTC (rev 18583)
@@ -217,8 +217,8 @@
         processChemicalInfo("formula");
       } else if (key.startsWith("_cell_")) {
         processCellParameter();
-      } else if (key.startsWith("_symmetry_space_group_name_H-M")
-          || key.startsWith("_symmetry_space_group_name_Hall")
+      } else if (key.startsWith("_symmetry_space_group_name_h-m")
+          || key.startsWith("_symmetry_space_group_name_hall")
           || key.startsWith("_space_group_ssg_name")) {
         processSymmetrySpaceGroupName();
       } else if (key.startsWith("_atom_sites_fract_tran")) {
@@ -380,7 +380,7 @@
    */
   private void processSymmetrySpaceGroupName() throws Exception {
     incommensurate = (key.indexOf("_ssg_") >= 0);
-    setSpaceGroupName((key.indexOf("H-M") > 0 ? "HM:" : incommensurate ? 
"SSG:" : "Hall:") + data);
+    setSpaceGroupName((key.indexOf("h-m") > 0 ? "HM:" : incommensurate ? 
"SSG:" : "Hall:") + data);
   }
 
   /**

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

Reply via email to