From: jprocter Date: Fri, 3 Aug 2012 16:26:27 +0000 (+0100) Subject: JAL-1136 fix logic for recovering AACons params X-Git-Tag: Jalview_2_9~406 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9b57bab507b537d42d62e9a4c5f387d75d31cd8a;p=jalview.git JAL-1136 fix logic for recovering AACons params --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 08deba4..4c042b3 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -1345,15 +1345,14 @@ public class Jalview2XML } AAConsSettings settings = new AAConsSettings(calcIdParam.isAutoUpdate(), service, parmSet, argList); av.setCalcIdSettingsFor(calcIdParam.getCalcId(), settings, calcIdParam.isNeedsUpdate()); + return true; } else { warn("Cannot resolve a service for the parameters used in this project. Try configuring a JABAWS server."); return false; } } - else - throw new Error("Unsupported Version for calcIdparam " - + calcIdParam.toString()); - return false; + throw new Error("Unsupported Version for calcIdparam " + + calcIdParam.toString()); } /** * External mapping between jalview objects and objects yielding a valid and