Sydney-Informatics-Hub / Scalable-DIA-NN

Scalable workflow to run https://github.com/vdemichev/DiaNN on NCI Gadi HPC
3 stars 2 forks source link

Avoid link exists errors when re-running setup script #26

Closed calizilla closed 6 months ago

calizilla commented 9 months ago

Edit the 0_setup.sh script so that it can be re-run multiple times without receiving a link error eg ln: failed to create symbolic link 'Raw_data/<file>': File exists

calizilla commented 6 months ago

Fixed in https://github.com/Sydney-Informatics-Hub/Scalable-DIA-NN/pull/24 . Used simple if [ ! -L Raw_data/${wiff_base} ]