From 25c188b06c08f654687b66314aa0da00106488a0 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 4 May 2007 13:55:59 +0000 Subject: [PATCH] remove system.out --- src/jalview/gui/AppJmol.java | 6 +----- src/jalview/structure/StructureSelectionManager.java | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/jalview/gui/AppJmol.java b/src/jalview/gui/AppJmol.java index 4a091b2..38490af 100644 --- a/src/jalview/gui/AppJmol.java +++ b/src/jalview/gui/AppJmol.java @@ -655,11 +655,7 @@ public synchronized void addSequence(SequenceI [] seq) { for (int m = 0; m < mapping.length; m++) { - System.out.println(mapping[m].getSequence().getName()+" "+sequence[s].getName()+" " - +((mapping[m].getSequence() == sequence[s]) - +" "+(ap.av.alignment.findIndex(sequence[s])))); - - if (mapping[m].getSequence() == sequence[s] + if (mapping[m].getSequence() == sequence[s] && ap.av.alignment.findIndex(sequence[s])>-1) { for (int r = 0; r < sequence[s].getLength(); r++) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index 5af3d8e..48f46ed 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -248,7 +248,6 @@ public class StructureSelectionManager for (int j = 0; j < mappings.length; j++) { - if (mappings[j].pdbfile.equals(pdbfile) && mappings[j].pdbchain.equals(chain)) { @@ -256,8 +255,6 @@ public class StructureSelectionManager mappings[j].getSeqPos(pdbResNum)); } } - - sl.highlightSequence(null, pdbResNum); } } } -- 1.7.10.2