Skip to content

Commit e8801ec

Browse files
committed
Bugfix to hashing consensus method warning
1 parent d68e549 commit e8801ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

singlecell/api-src/org/labkey/api/singlecell/CellHashingService.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@ public static CellHashingService.CellHashingParameters createFromStep(SequenceOu
133133
if (methodStr2 != null)
134134
{
135135
ret.consensusMethods = extractMethods(methodStr2);
136-
137-
throw new PipelineJobException("All consensusMethods must be present in methods: " + methodStr2);
136+
if (!ret.methods.containsAll(ret.consensusMethods))
137+
{
138+
throw new PipelineJobException("All consensusMethods must be present in methods: " + methodStr2);
139+
}
138140
}
139141
}
140142

0 commit comments

Comments
 (0)