Skip to content

Commit

Permalink
Don't clear fragments in --dry-run mode.
Browse files Browse the repository at this point in the history
Ugh, I just accidentally deleted 3 days of jobs because of this...
  • Loading branch information
kalekundert committed Jan 20, 2018
1 parent 87a94b6 commit 376994f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pull_into_place/commands/02_setup_model_fragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def main():

workspace = pipeline.RestrainedModels(args['<workspace>'])
workspace.check_paths()
workspace.make_dirs()
workspace.clear_fragments()

# Run the fragment generation script.

Expand All @@ -58,4 +56,6 @@ def main():
if args['--dry-run']:
print ' '.join(generate_fragments)
else:
workspace.make_dirs()
workspace.clear_fragments()
subprocess.call(generate_fragments)
4 changes: 2 additions & 2 deletions pull_into_place/commands/07_setup_design_fragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ def main():
workspace = pipeline.ValidatedDesigns(args['<workspace>'], args['<round>'])
workspace.check_paths()
workspace.check_rosetta()
workspace.make_dirs()
workspace.clear_fragments()

# Run the fragment generation script.

Expand All @@ -49,5 +47,7 @@ def main():
if args['--dry-run']:
print ' '.join(generate_fragments)
else:
workspace.make_dirs()
workspace.clear_fragments()
subprocess.call(generate_fragments)

0 comments on commit 376994f

Please sign in to comment.