X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Fjmol%2FPDBFileWithJmol.java;h=3df8957d9c01a47f566ce4f72b2abca926ec3853;hb=93d63f3c608771bb48b5ac18f761194a1ea28554;hp=7fe8428dcb1ccd88764d5f4ba601d089f3f3ccd6;hpb=ad15cff29620f960119f80176f1fd443da9f6763;p=jalview.git diff --git a/src/jalview/ext/jmol/PDBFileWithJmol.java b/src/jalview/ext/jmol/PDBFileWithJmol.java index 7fe8428..3df8957 100644 --- a/src/jalview/ext/jmol/PDBFileWithJmol.java +++ b/src/jalview/ext/jmol/PDBFileWithJmol.java @@ -177,9 +177,10 @@ public class PDBFileWithJmol extends AlignFile implements PDBEntry pdbe = new PDBEntry(); pdbe.setFile(getDataName()); pdbe.setId(getDataName()); - sq.addPDBId(pdbe); pdbe.setProperty(new Hashtable()); - pdbe.getProperty().put("CHAIN", "" + _lastChainId); + // pdbe.getProperty().put("CHAIN", "" + _lastChainId); + pdbe.setChainCode(String.valueOf(_lastChainId)); + sq.addPDBId(pdbe); // JAL-1533 // Need to put the number of models for this polymer somewhere for Chimera/others to grab // pdbe.getProperty().put("PDBMODELS", biopoly.)