From 52cfe80caf018cf3cc6937304f0b20b57153278f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 11 Apr 2018 16:42:02 +0100 Subject: [PATCH] JAL-2946 catch unexpected SIFTS mapping exceptions and failover to Needleman and Wunsch mapping --- src/jalview/structure/StructureSelectionManager.java | 7 +++++++ 1 file changed, 7 insertions(+) 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()) { -- 1.7.10.2