SequenceGroup group;
List<ArgumentI> params;
+ boolean multiJob;
boolean forGroup = false;
{
alignment = viewport.getAlignment();
groups.addAll(viewport.getAlignment().getGroups());
+ multiJob = true;
break;
}
else if ("All groups".equals(value))
{
alignment = null;
groups = viewport.getAlignment().getGroups();
+ multiJob = true;
break;
}
else if ("Selected group".equals(value))
switch (argName)
{
case "HMM Name":
- name = arg.getValue();
+ if (!multiJob)
+ {
+ name = arg.getValue();
+ name = name.trim();
+ }
break;
case "Use Reference Annotation":
command += "--hand ";
}
}
- name = name.trim();
-
if (name == null || "".equals(name))
{
if (forGroup)
}
}
- command += "-n " + name + cmds.SPACE;
+
+ command += "-n " + name.replace(' ', '_') + cmds.SPACE;
if (!alignment.isNucleotide())
{
command += cmds.FORCEAMINO; // TODO check for rna