From 9ab08b1a8e5b2b05788d880985748b3df544cc3e Mon Sep 17 00:00:00 2001 From: MMWarowny Date: Thu, 5 Dec 2019 16:30:45 +0000 Subject: [PATCH] JAL-3066 Comment on ambiguous parameter parsing. --- src/jalview/ws/slivkaws/SlivkaWSInstance.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/ws/slivkaws/SlivkaWSInstance.java b/src/jalview/ws/slivkaws/SlivkaWSInstance.java index 8a42982..952aab6 100644 --- a/src/jalview/ws/slivkaws/SlivkaWSInstance.java +++ b/src/jalview/ws/slivkaws/SlivkaWSInstance.java @@ -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) -- 1.7.10.2