/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * 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.
*
* @author JimP
*
*/
-public class SeqGroupIndexVector extends InputType implements
- AlignmentProcessor
+public class SeqGroupIndexVector extends InputType
+ implements AlignmentProcessor
{
public SeqGroupIndexVector()
{
{
if (sg.getSize() < minsize)
{
- throw new NoValidInputDataException(
- MessageManager
- .formatMessage(
- "exception.notvaliddata_group_contains_less_than_min_seqs",
- new String[] { Integer.valueOf(minsize)
- .toString() }));
+ throw new NoValidInputDataException(MessageManager.formatMessage(
+ "exception.notvaliddata_group_contains_less_than_min_seqs",
+ new String[]
+ { Integer.valueOf(minsize).toString() }));
}
// TODO: refactor to sequenceGroup for efficiency -
// getAlignmentRowInterval(AlignmentI al)
return true;
} catch (Exception x)
{
- warnings.append("Invalid molecule type '" + val
- + "'. Must be one of (");
+ warnings.append(
+ "Invalid molecule type '" + val + "'. Must be one of (");
for (molType v : molType.values())
{
warnings.append(" " + v);
List<OptionI> lst = getBaseOptions();
lst.add(new Option("sep",
"Separator character between elements of vector", true, ",",
- sep, Arrays.asList(new String[] { " ", ",", ";", "\t", "|" }),
- null));
+ sep, Arrays.asList(new String[]
+ { " ", ",", ";", "\t", "|" }), null));
lst.add(new IntegerParameter("minsize",
"Minimum size of partition allowed by service", true, 1,
minsize, 1, 0));