Skip to content

Commit 42d4ab5

Browse files
committed
Fix R syntax
1 parent 922e8e1 commit 42d4ab5

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
@@ -1151,7 +1151,7 @@ public File generateCellHashingCalls(File citeSeqCountOutDir, File outputDir, St
11511151

11521152
String skipNormalizationQcString = parameters.skipNormalizationQc ? "TRUE" : "FALSE";
11531153
String keepMarkdown = parameters.keepMarkdown ? "TRUE" : "FALSE";
1154-
String h5String = h5 == null ? "" : ", h5File = '/work/'" + h5.getName();
1154+
String h5String = h5 == null ? "" : ", h5File = '/work/" + h5.getName() + "'";
11551155
String consensusMethodString = consensusMethodNames.isEmpty() ? "" : ", consensusMethods = c('" + StringUtils.join(methodNames, "','") + "')";
11561156
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 + ")");
11571157
writer.println("print('Rmarkdown complete')");

0 commit comments

Comments
 (0)