JAL-3066 Comment on ambiguous parameter parsing.
authorMMWarowny <mmzwarowny@dundee.ac.uk>
Thu, 5 Dec 2019 16:30:45 +0000 (16:30 +0000)
committerMMWarowny <mmzwarowny@dundee.ac.uk>
Thu, 5 Dec 2019 16:30:45 +0000 (16:30 +0000)
src/jalview/ws/slivkaws/SlivkaWSInstance.java

index 8a42982..952aab6 100644 (file)
@@ -93,6 +93,8 @@ public abstract class SlivkaWSInstance extends ServiceWithParameters
     {
       for (ArgumentI arg : args)
       {
+        // multiple choice field names are name$number to avoid duplications
+        // the number is stripped here
         String fieldName = arg.getName().split("\\$", 2)[0];
         FormField field = form.getField(fieldName);
         if (field.getType() == FieldType.BOOLEAN)