Skip to content

Commit

Permalink
Add dry run = False
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelDuffin committed Jul 11, 2024
1 parent c8b11fe commit 04b00fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wscleaner/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def get_arguments():
# no directories are deleted by the runfolder manager
if parsed_args.dry_run or BRANCH != "main":
dry_run = True # Protects against deleting the test folders (!!)
else:
dry_run = False


RFM = RunFolderManager(
dry_run=dry_run,
Expand Down

0 comments on commit 04b00fb

Please sign in to comment.