From 3c7a633b4868a7a95ed1cfe19be6dd44c22ac473 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 May 2007 10:44:13 +0000 Subject: [PATCH] must specify .CA --- src/jalview/appletgui/AppletJmol.java | 2 +- src/jalview/gui/AppJmol.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/appletgui/AppletJmol.java b/src/jalview/appletgui/AppletJmol.java index 45243b0..6e2047b 100644 --- a/src/jalview/appletgui/AppletJmol.java +++ b/src/jalview/appletgui/AppletJmol.java @@ -724,7 +724,7 @@ public class AppletJmol extends Frame picked+=strInfo.substring(strInfo.indexOf(":")+1, strInfo.indexOf(".")); - picked+=".C"; + picked+=".CA"; if (!atomsPicked.contains(picked)) { diff --git a/src/jalview/gui/AppJmol.java b/src/jalview/gui/AppJmol.java index 7aa0183..ab03d10 100644 --- a/src/jalview/gui/AppJmol.java +++ b/src/jalview/gui/AppJmol.java @@ -843,7 +843,8 @@ public synchronized void addSequence(SequenceI [] seq) if (chainId != null) picked+=(":"+chainId.substring(1, chainId.length())); - picked+=".C"; + picked+=".CA"; + if (!atomsPicked.contains(picked)) { -- 1.7.10.2