From: Jim Procter Date: Wed, 11 Apr 2018 15:42:02 +0000 (+0100) Subject: JAL-2946 catch unexpected SIFTS mapping exceptions and failover to Needleman and... X-Git-Tag: Release_2_10_4~32^2^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=52cfe80caf018cf3cc6937304f0b20b57153278f;p=jalview.git JAL-2946 catch unexpected SIFTS mapping exceptions and failover to Needleman and Wunsch mapping --- diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index 10fe836..7456304 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -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()) {