JAL-2106 prevent SIFTS mappings for sequences that don’t look like protein
authorJim Procter <jprocter@issues.jalview.org>
Wed, 24 Aug 2016 16:29:13 +0000 (17:29 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 24 Aug 2016 16:29:13 +0000 (17:29 +0100)
src/jalview/structure/StructureSelectionManager.java

index be042e6..04afab6 100644 (file)
@@ -502,7 +502,7 @@ public class StructureSelectionManager
       }
 
       ArrayList<StructureMapping> seqToStrucMapping = new ArrayList<StructureMapping>();
-      if (isMapUsingSIFTs)
+      if (isMapUsingSIFTs && seq.isProtein())
       {
         setProgressBar(null);
         setProgressBar(MessageManager