We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ded6e3a commit d555d96Copy full SHA for d555d96
singlecell/src/org/labkey/singlecell/run/CellRangerVDJWrapper.java
@@ -606,8 +606,17 @@ else if (token.endsWith("d"))
606
getPipelineCtx().getLogger().info("\tTotal TRB->TRD changes: " + totalD);
607
}
608
609
- //TODO: ultimately remove this and delete file
610
- FileUtils.moveFile(csv, new File(csv.getPath() + ".orig"));
+ File orig = new File(csv.getPath() + ".orig");
+ if (orig.exists())
611
+ {
612
+ getPipelineCtx().getLogger().debug("Original copy of CSV exists, will not copy over it");
613
+ csv.delete();
614
+ }
615
+ else
616
617
+ FileUtils.moveFile(csv, new File(csv.getPath() + ".orig"));
618
619
+
620
FileUtils.moveFile(csv2, csv);
621
622
0 commit comments