Centralized statistic collector. All WS are converted to use the same input and outpu...
[jabaws.git] / webservices / compbio / ws / server / AAConWS.java
index ac7435d..e6f8122 100644 (file)
@@ -57,7 +57,6 @@ public class AAConWS implements SequenceAnnotation<AACon> {
        ConfiguredExecutable<AACon> init(List<FastaSequence> sequences)\r
                        throws JobSubmissionException {\r
                AACon aacon = new AACon();\r
-               aacon.setInput("fasta.in").setOutput("aacon.out");\r
                return Configurator.configureExecutable(aacon, sequences);\r
        }\r
 \r
@@ -84,6 +83,10 @@ public class AAConWS implements SequenceAnnotation<AACon> {
 \r
        @Override\r
        public Limit<AACon> getLimit(String presetName) {\r
+               if (limitMan == null) {\r
+                       // Limit is not defined\r
+                       return null;\r
+               }\r
                return limitMan.getLimitByName(presetName);\r
        }\r
 \r