/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
AlignmentI al = rj.getAlignmentForInput(token, molType.MIX);
if (format.equals(JVANNOT))
{
- return new StringBody(
- new jalview.io.AnnotationFile()
- .printAnnotationsForAlignment(al));
+ return new StringBody(new jalview.io.AnnotationFile()
+ .printAnnotationsForAlignment(al));
}
else
{
"Unrecognised format for exporting Annotation (" + format
+ ")");
}
- return new StringBody(
- new jalview.io.AnnotationFile().printCSVAnnotations(al
- .getAlignmentAnnotation()));
+ return new StringBody(new jalview.io.AnnotationFile()
+ .printCSVAnnotations(al.getAlignmentAnnotation()));
}
}
{
// TODO - consider disregarding base options here.
List<OptionI> lst = getBaseOptions();
- lst.add(new Option("format", "Alignment annotation upload format",
- true, JVANNOT, format, Arrays.asList(new String[] { JVANNOT,
- CSVANNOT }), null));
+ lst.add(new Option("format", "Alignment annotation upload format", true,
+ JVANNOT, format, Arrays.asList(new String[]
+ { JVANNOT, CSVANNOT }), null));
return lst;
}
}