Skip to content

Commit

Permalink
rm-rf model
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Aug 31, 2024
1 parent b36a030 commit 9634eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subtract/subtract_with_wsclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def main():
command += [f'rsync -a --no-perms {dataset} {runpath}' for dataset in args.mslist]
# when running with scratch + toil, the next commands are to clean up the tmp* files
command += [f'rm -rf {dataset}' for dataset in args.mslist]
command += ['rm *.fits', f'rm {args.model_image_folder}']
command += ['rm *.fits', f'rm -rf {args.model_image_folder}']
os.system('&&'.join(command))
outpath = os.getcwd()
os.chdir(runpath)
Expand Down

0 comments on commit 9634eb6

Please sign in to comment.