store chainid on pdbentry
authorjprocter <jprocter@compbio.dundee.ac.uk>
Sat, 17 Nov 2012 21:21:49 +0000 (21:21 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Sat, 17 Nov 2012 21:21:49 +0000 (21:21 +0000)
src/MCview/PDBfile.java

index 2005886..e3df0db 100755 (executable)
@@ -167,6 +167,8 @@ public class PDBfile extends jalview.io.AlignFile
         dataset.setName(id + "|" + dataset.getName());
         PDBEntry entry = new PDBEntry();
         entry.setId(id);
+        entry.setProperty(new Hashtable());
+        entry.getProperty().put("CHAIN", ((PDBChain)chains.elementAt(i)).id);
         if (inFile != null)
         {
           entry.setFile(inFile.getAbsolutePath());