X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fext%2Fjmol%2FPDBFileWithJmol.java;h=3df8957d9c01a47f566ce4f72b2abca926ec3853;hb=93d63f3c608771bb48b5ac18f761194a1ea28554;hp=92dce3632f552208517b2ebb873255113e2753a2;hpb=2273eba5668e5340354da60fed329c6c716cc439;p=jalview.git diff --git a/src/jalview/ext/jmol/PDBFileWithJmol.java b/src/jalview/ext/jmol/PDBFileWithJmol.java index 92dce36..3df8957 100644 --- a/src/jalview/ext/jmol/PDBFileWithJmol.java +++ b/src/jalview/ext/jmol/PDBFileWithJmol.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -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.)