/**
* input data as a file upload rather than inline content
*/
- public boolean writeAsFile=false;
+ public boolean writeAsFile = false;
@Override
public ContentBody formatForInput(RestJob rj)
}
return false;
}
+
@Override
public List<OptionI> getOptions()
{
List<OptionI> lst = getBaseOptions();
- lst.add(new BooleanOption("jvsuffix","Append jalview style /start-end suffix to ID", false, false, jvsuffix, null));
- lst.add(new BooleanOption("writeasfile","Append jalview style /start-end suffix to ID", false, false, writeAsFile, null));
-
- lst.add(new Option("format",
- "Alignment upload format", true, "FASTA",
- format, Arrays.asList(jalview.io.FormatAdapter.WRITEABLE_FORMATS), null));
- lst.add(createMolTypeOption("type", "Sequence type", false, type,
+ lst.add(new BooleanOption("jvsuffix",
+ "Append jalview style /start-end suffix to ID", false, false,
+ jvsuffix, null));
+ lst.add(new BooleanOption("writeasfile",
+ "Append jalview style /start-end suffix to ID", false, false,
+ writeAsFile, null));
+
+ lst.add(new Option("format", "Alignment upload format", true, "FASTA",
+ format, Arrays
+ .asList(jalview.io.FormatAdapter.WRITEABLE_FORMATS),
null));
-
+ lst.add(createMolTypeOption("type", "Sequence type", false, type, null));
+
return lst;
}