JAL-2946 catch unexpected SIFTS mapping exceptions and failover to Needleman and...
authorJim Procter <jprocter@issues.jalview.org>
Wed, 11 Apr 2018 15:42:02 +0000 (16:42 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 11 Apr 2018 15:42:02 +0000 (16:42 +0100)
src/jalview/structure/StructureSelectionManager.java

index 10fe836..7456304 100644 (file)
@@ -572,6 +572,13 @@ public class StructureSelectionManager
             {
               System.err.println(e.getMessage());
             }
+            catch (Exception e)
+            {
+              System.err
+                      .println(
+                              "Unexpected exception during SIFTS mapping - falling back to NW for this sequence/structure pair");
+              System.err.println(e.getMessage());
+            }
           }
           if (!foundSiftsMappings.isEmpty())
           {