X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FJabaParamStore.java;h=204e0df31457fda57eb0b05e7c91019394383402;hb=ad20cd92225f2ee8c251d39b00b90555d382a616;hp=bdea5be032376b109c4eb620ca2faf7ca1342532;hpb=c13784724ba3826e6cc3faeb85571cf30776592d;p=jalview.git diff --git a/src/jalview/ws/jws2/JabaParamStore.java b/src/jalview/ws/jws2/JabaParamStore.java index bdea5be..204e0df 100644 --- a/src/jalview/ws/jws2/JabaParamStore.java +++ b/src/jalview/ws/jws2/JabaParamStore.java @@ -1,9 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) + * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + */ package jalview.ws.jws2; -import java.io.BufferedReader; import java.io.IOException; -import java.io.Reader; -import java.io.Writer; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; @@ -16,10 +30,10 @@ import compbio.metadata.Preset; import compbio.metadata.PresetManager; import compbio.metadata.RunnerConfig; -import jalview.ws.jws2.Jws2Discoverer.Jws2Instance; import jalview.ws.jws2.dm.JabaOption; import jalview.ws.jws2.dm.JabaParameter; import jalview.ws.jws2.dm.JabaWsParamSet; +import jalview.ws.jws2.jabaws2.Jws2Instance; import jalview.ws.params.ArgumentI; import jalview.ws.params.ParamDatastoreI; import jalview.ws.params.ParamManager; @@ -255,7 +269,8 @@ public class JabaParamStore implements ParamDatastoreI boolean found = false; for (String url : urls) { - if (service.getUri().equalsIgnoreCase(url)) + if (service.getServiceTypeURI().equals(url) + || service.getUri().equalsIgnoreCase(url)) { found = true; break;