X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Frest%2Fparams%2FSeqIdVector.java;h=0b19629328ae564c3be7abc30e5b924ad880bf70;hb=4f9cb2ca5ee0d5556c44b223b0cc87334c7df74a;hp=c125b64cdb26491a76987508eec528a80b445943;hpb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;p=jalview.git diff --git a/src/jalview/ws/rest/params/SeqIdVector.java b/src/jalview/ws/rest/params/SeqIdVector.java index c125b64..0b19629 100644 --- a/src/jalview/ws/rest/params/SeqIdVector.java +++ b/src/jalview/ws/rest/params/SeqIdVector.java @@ -1,6 +1,6 @@ /* - * 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. * @@ -109,8 +109,8 @@ public class SeqIdVector extends InputType 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); @@ -127,9 +127,10 @@ public class SeqIdVector extends InputType List lst = getBaseOptions(); lst.add(new Option("sep", "Separator character between elements of vector", true, ",", - sep, Arrays.asList(new String[] { " ", ",", ";", "\t", "|" }), + sep, Arrays.asList(new String[] + { " ", ",", ";", "\t", "|" }), null)); + lst.add(createMolTypeOption("type", "Sequence type", false, type, null)); - lst.add(createMolTypeOption("type", "Sequence type", false, type, null)); return lst; } }