Skip to content

Commit 23ae555

Browse files
committed
Preserve empty cells when parsing all_contigs CSV from cellranger vdj
1 parent fbdc674 commit 23ae555

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cluster/src/org/labkey/cluster/pipeline/AbstractClusterExecutionEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ protected void updateJobStatus(@Nullable String status, ClusterJob j, @Nullable
516516
// Because it is possible for a prior submission to report a status, only update the PipelineJob itself if this is the latest submission.
517517
if (hasNewerSubmission)
518518
{
519-
//_log.info("There is a newer submission for job: " + sf.getRowId() + ". Skipping update for cluster ID: " + j.getClusterId() + " in favor of " + mostRecent.getClusterId());
519+
//_log.info("There is a newer submission for job: " + (sf == null ? null : sf.getRowId()) + ". Skipping update for cluster ID: " + j.getClusterId() + " in favor of " + mostRecent.getClusterId());
520520
statusChanged = false;
521521
}
522522

singlecell/src/org/labkey/singlecell/run/CellRangerVDJWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public AlignmentStep.AlignmentOutput performAlignment(Readset rs, List<File> inp
478478
if (lineIdx > 1 && (line.contains("g,") || line.contains("d,")))
479479
{
480480
//Infer correct chain from the V, J and C genes
481-
String[] tokens = line.split(",");
481+
String[] tokens = line.split(",", -1); // -1 used to preserve trailing empty strings
482482
List<String> chains = new ArrayList<>();
483483
String vGeneChain = null;
484484
String jGeneChain = null;

0 commit comments

Comments
 (0)