Closed ingkebil closed 3 years ago
@barrystokman Is this still relevant?
In some cases this could be useful, for instance re-demultiplexing FCs for which the project dirs in Unaligned already exist
edit: currently, removing the unaligned dir is a manual action, adding 20 seconds of work max.
@barrystokman and @karlnyr Merge or close?
@karlnyr your call
I feel like this is the wrong way to do it. Better to clean target directory on restart than copying over newly added files. The one situation where this could be slightly useful is for mixed samplesheet runs, but even then I feel like this is not the most safe way to do it. In other words, CLOSE!
This PR fixes the jobs failing when the output directory
Unaligned
already exists.How to test:
rm /home/proj/stage/flowcells/hiseqx/170630_ST-E00198_0227_AH2GL2CCXY/demuxstarted.txt
bash ${PROJECT_HOME}/stage/bin/git/demultiplexing/scripts/hiseqx/xcheckfornewrun.bash ${PROJECT_HOME}/stage/flowcells/hiseqx/ ${PROJECT_HOME}/stage/demultiplexed-runs/
... aaaha ran out of time!