git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909f6b9
)
JAL-3066 Comment on ambiguous parameter parsing.
author
MMWarowny
<mmzwarowny@dundee.ac.uk>
Thu, 5 Dec 2019 16:30:45 +0000
(16:30 +0000)
committer
MMWarowny
<mmzwarowny@dundee.ac.uk>
Thu, 5 Dec 2019 16:30:45 +0000
(16:30 +0000)
src/jalview/ws/slivkaws/SlivkaWSInstance.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/slivkaws/SlivkaWSInstance.java
b/src/jalview/ws/slivkaws/SlivkaWSInstance.java
index
8a42982
..
952aab6
100644
(file)
--- 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)