Skip to content

Commit

Permalink
Fix Input generation for new runs
Browse files Browse the repository at this point in the history
  • Loading branch information
sivonxay committed Oct 5, 2023
1 parent 5c9a0b1 commit 84258a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NanoParticleTools/flows/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def npmc_job(constraints: Sequence[NanoParticleConstraint],
'Existing run found, but some files are missing. ')
fresh_start = True

if fresh_start:
if fresh_start or os.path.exists(output_dir) is False:
if override or os.path.exists(output_dir) is False:
if os.path.exists(output_dir):

Check warning on line 181 in src/NanoParticleTools/flows/jobs.py

View check run for this annotation

Codecov / codecov/patch

src/NanoParticleTools/flows/jobs.py#L179-L181

Added lines #L179 - L181 were not covered by tests
# delete the directory, so we can start from scratch
Expand Down

0 comments on commit 84258a1

Please sign in to comment.