Skip to content

Commit 0fe26b1

Browse files
committed
Bugfix to mGAP ETL
1 parent 7a1440b commit 0fe26b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mGAP/src/org/labkey/mgap/columnTransforms/AbstractVariantTransform.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ protected File doFileCopy(File f, File subdir, @Nullable String name) throws Pip
266266
throw new PipelineJobException("File should have been deleted: " + localCopy.getPath());
267267
}
268268

269-
Files.createSymbolicLink(f.toPath(), localCopy.toPath());
269+
Files.createSymbolicLink(localCopy.toPath(), f.toPath());
270270
}
271271
catch (IOException e)
272272
{
@@ -289,7 +289,7 @@ protected File doFileCopy(File f, File subdir, @Nullable String name) throws Pip
289289
getStatusLogger().info("Creating symlink copy of VCF index: " + index.getPath() + " / " + indexLocal.getPath());
290290
try
291291
{
292-
Files.createSymbolicLink(index.toPath(), indexLocal.toPath());
292+
Files.createSymbolicLink(indexLocal.toPath(), index.toPath());
293293
}
294294
catch (IOException e)
295295
{

0 commit comments

Comments
 (0)