X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=webservices%2Fcompbio%2Fws%2Fserver%2FProbconsWS.java;h=71f47302ea3fbf9a58d0f5a806b598885f665be2;hb=a966c1a63f4365f34a0567514dee6d1bc4d3af91;hp=5b933550936b9d720edca6ee4084d01130e097bc;hpb=45154567757138fa61f345bee3429246a98f1969;p=jabaws.git diff --git a/webservices/compbio/ws/server/ProbconsWS.java b/webservices/compbio/ws/server/ProbconsWS.java index 5b93355..71f4730 100644 --- a/webservices/compbio/ws/server/ProbconsWS.java +++ b/webservices/compbio/ws/server/ProbconsWS.java @@ -1,6 +1,6 @@ -/* Copyright (c) 2009 Peter Troshin +/* Copyright (c) 2011 Peter Troshin * - * JAva Bioinformatics Analysis Web Services (JABAWS) @version: 1.0 + * JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0 * * This library is free software; you can redistribute it and/or modify it under the terms of the * Apache License version 2 as published by the Apache Software Foundation @@ -63,8 +63,8 @@ public class ProbconsWS implements MsaWS { throws JobSubmissionException { WSUtil.validateFastaInput(sequences); ConfiguredExecutable confProbcons = init(sequences); - return WSUtil.align(sequences, confProbcons, null, "align", - getLimit("")); + return WSUtil + .align(sequences, confProbcons, log, "align", getLimit("")); } ConfiguredExecutable init(List dataSet) @@ -86,7 +86,7 @@ public class ProbconsWS implements MsaWS { Probcons.KEY_VALUE_SEPARATOR); log.info("Setting parameters:" + params); confProbcons.addParameters(params); - return WSUtil.align(sequences, confProbcons, null, "customAlign", + return WSUtil.align(sequences, confProbcons, log, "customAlign", getLimit("")); } @@ -101,8 +101,7 @@ public class ProbconsWS implements MsaWS { ConfiguredExecutable confProbcons = init(sequences); confProbcons.addParameters(preset.getOptions()); Limit limit = getLimit(preset.getName()); - return WSUtil - .align(sequences, confProbcons, null, "presetAlign", limit); + return WSUtil.align(sequences, confProbcons, log, "presetAlign", limit); } @SuppressWarnings("unchecked")