Skip to content

Commit 43fe5e2

Browse files
committed
Do not force seurat object name to match readset
1 parent f005c76 commit 43fe5e2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

singlecell/src/org/labkey/singlecell/analysis/AbstractSingleCellHandler.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,16 @@ public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext c
396396
currentFiles = new ArrayList<>();
397397
for (SequenceOutputFile so : inputFiles)
398398
{
399-
String datasetId = FileUtil.makeLegalName(so.getReadset() != null ? ctx.getSequenceSupport().getCachedReadset(so.getReadset()).getName() : so.getName());
399+
String datasetId;
400+
if ("Seurat Object Prototype".equals(so.getCategory()))
401+
{
402+
datasetId = FileUtil.makeLegalName(ctx.getSequenceSupport().getCachedReadset(so.getReadset()).getName());
403+
}
404+
else
405+
{
406+
datasetId = so.getName();
407+
}
408+
400409
if (distinctIds.contains(datasetId))
401410
{
402411
throw new PipelineJobException("Duplicate dataset Ids in input data: " + datasetId);

0 commit comments

Comments
 (0)