From: <ha...@us...> - 2006-10-11 02:51:57
|
Revision: 5904 http://svn.sourceforge.net/jmol/?rev=5904&view=rev Author: hansonr Date: 2006-10-10 19:51:51 -0700 (Tue, 10 Oct 2006) Log Message: ----------- adds alternative location indications for organic/inorganic cif data based on atom_site_disorder_group --- not perfect, but will work for now. Modified Paths: -------------- trunk/Jmol/src/org/jmol/adapter/smarter/CifReader.java Modified: trunk/Jmol/src/org/jmol/adapter/smarter/CifReader.java =================================================================== --- trunk/Jmol/src/org/jmol/adapter/smarter/CifReader.java 2006-10-11 02:40:08 UTC (rev 5903) +++ trunk/Jmol/src/org/jmol/adapter/smarter/CifReader.java 2006-10-11 02:51:51 UTC (rev 5904) @@ -444,6 +444,7 @@ final static byte GROUP_PDB = 16; final static byte MODEL_NO = 17; final static byte DUMMY_ATOM = 18; + final static byte DISORDER_GROUP = 19; final static String[] atomFields = { "_atom_site_type_symbol", @@ -465,6 +466,7 @@ "_atom_site.group_PDB", "_atom_site.pdbx_PDB_model_num", "_atom_site_calc_flag", + "_atom_site_disorder_group", }; @@ -573,6 +575,7 @@ atom.chainID = firstChar; break; case ALT_ID: + case DISORDER_GROUP: //not QUITE correct atom.alternateLocationID = field.charAt(0); break; case GROUP_PDB: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |