Skip to content

Commit af83b52

Browse files
committed
Bugfix to symlink
1 parent 2e6c819 commit af83b52

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,13 @@ public File getInclusionListFile(Logger logger) throws PipelineJobException
648648
logger.debug("cellranger symlink target: " + exePath);
649649
if (!exePath.isAbsolute())
650650
{
651-
exePath = exe.getParentFile().toPath().resolve(exePath);
651+
File parent = exe.getParentFile();
652+
if (parent.getPath().endsWith("bin"))
653+
{
654+
parent = parent.getParentFile();
655+
}
656+
657+
exePath = parent.toPath().resolve(exePath);
652658
logger.debug("resolved symlink target: " + exePath);
653659
}
654660

0 commit comments

Comments
 (0)