Skip to content

Commit c85c5a9

Browse files
committed
Bugfix to hashing consensus methods
1 parent afcd81e commit c85c5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singlecell/src/org/labkey/singlecell/CellHashingServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ public File generateCellHashingCalls(File citeSeqCountOutDir, File outputDir, St
11571157
String skipNormalizationQcString = parameters.skipNormalizationQc ? "TRUE" : "FALSE";
11581158
String keepMarkdown = parameters.keepMarkdown ? "TRUE" : "FALSE";
11591159
String h5String = h5 == null ? "" : ", h5File = '/work/" + h5.getName() + "'";
1160-
String consensusMethodString = consensusMethodNames.isEmpty() ? "" : ", methodsForConsensus = c('" + StringUtils.join(methodNames, "','") + "')";
1160+
String consensusMethodString = consensusMethodNames.isEmpty() ? "" : ", methodsForConsensus = c('" + StringUtils.join(consensusMethodNames, "','") + "')";
11611161
writer.println("f <- cellhashR::CallAndGenerateReport(rawCountData = '/work/" + citeSeqCountOutDir.getName() + "'" + h5String + ", molInfoFile = '/work/" + molInfo.getName() + "', reportFile = '/work/" + htmlFile.getName() + "', callFile = '/work/" + callsFile.getName() + "', metricsFile = '/work/" + metricsFile.getName() + "', rawCountsExport = '/work/" + countFile.getName() + "', cellbarcodeWhitelist = " + cellbarcodeWhitelist + ", barcodeWhitelist = " + allowableBarcodeParam + ", title = '" + parameters.getReportTitle() + "', skipNormalizationQc = " + skipNormalizationQcString + ", methods = c('" + StringUtils.join(methodNames, "','") + "')" + consensusMethodString + ", keepMarkdown = " + keepMarkdown + ")");
11621162
writer.println("print('Rmarkdown complete')");
11631163

0 commit comments

Comments
 (0)