Skip to content

Commit 66055a1

Browse files
committed
Use alternate delimiter
1 parent 3f3d830 commit 66055a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

singlecell/src/org/labkey/singlecell/pipeline/singlecell/SubsetSeurat.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public Provider()
3131
ToolParameterDescriptor.create("expression", "Expression", "Filter Expression(s)", "sequenceanalysis-trimmingtextarea", new JSONObject(){{
3232
put("allowBlank", false);
3333
put("height", 150);
34-
put("delimiter", ",");
34+
put("delimiter", DELIM);
3535
}}, null)
3636
), Arrays.asList("/sequenceanalysis/field/TrimmingTextArea.js"), null);
3737
}
@@ -55,6 +55,7 @@ public Collection<String> getRLibraries()
5555
}
5656

5757
final static String EXPRESSION = "<SUBSETS>";
58+
final static String DELIM = "<>";
5859

5960
@Override
6061
protected List<String> loadChunkFromFile() throws PipelineJobException
@@ -66,7 +67,7 @@ protected List<String> loadChunkFromFile() throws PipelineJobException
6667
throw new PipelineJobException("A blank subset was provided. This should have been caught upstream");
6768
}
6869

69-
final String[] values = val.split(",");
70+
final String[] values = val.split(DELIM);
7071

7172
List<String> ret = new ArrayList<>();
7273
for (String line : super.loadChunkFromFile())

0 commit comments

Comments
 (0)