Expected outcome:
syncing should happen and the output should not mention
column -t /home/hiseq.clinical/DEMUX//190308_D00410_0865_AHWLKTBCX2/stats-*
after
scp /home/hiseq.clinical/DEMUX//190308_D00410_0865_AHWLKTBCX2/copycomplete.txt hasta.scilifelab.se:/home/proj/production/demultiplexed-runs//190308_D00410_0865_AHWLKTBCX2/
Removes the emails sent when data is successfully transferred to hasta and rasta.
How to test:
git clone -b rm-delivered-emails https://github.com/Clinical-Genomics/demultiplexing.git ~/git/<yourname>/demux/
crontab -e
comment out the line after# delivery 2500 results
rm /home/hiseq.clinical/DEMUX/190308_D00410_0865_AHWLKTBCX2/copycomplete.txt
bash ~/git/<yourname>/demux/scripts/2-hiseq-deliver.bash
Expected outcome: syncing should happen and the output should not mention
column -t /home/hiseq.clinical/DEMUX//190308_D00410_0865_AHWLKTBCX2/stats-*
afterscp /home/hiseq.clinical/DEMUX//190308_D00410_0865_AHWLKTBCX2/copycomplete.txt hasta.scilifelab.se:/home/proj/production/demultiplexed-runs//190308_D00410_0865_AHWLKTBCX2/