From d4361e0bc5b31c5c659edef5ec825dbdb0615571 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 12 Feb 2012 15:02:53 +0000 Subject: [PATCH] (JAL-1049) only store state reference for sequence we are creating PDBentry for --- src/jalview/gui/Jalview2XML.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index cb29ab5..e259309 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -612,7 +612,8 @@ public class Jalview2XML for (int smap = 0; smap < jmol.jmb.sequence[peid].length; smap++) { - if (jal.findIndex(jmol.jmb.sequence[peid][smap]) > -1) +// if (jal.findIndex(jmol.jmb.sequence[peid][smap]) > -1) + if (jds==jmol.jmb.sequence[peid][smap]) { StructureState state = new StructureState(); state.setVisible(true); -- 1.7.10.2