From fb98182803e109fccc629bab7c1bc1f023e44258 Mon Sep 17 00:00:00 2001 From: jprocter Date: Sat, 17 Nov 2012 21:21:49 +0000 Subject: [PATCH] store chainid on pdbentry --- src/MCview/PDBfile.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 2005886..e3df0db 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -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()); -- 1.7.10.2