Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-S-Rosen authored Jan 10, 2025
1 parent 34f0aed commit b11bd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quacc/runners/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def calc_cleanup(
settings = get_settings()

# Safety check
if "tmp-" not in str(tmpdir):
if "tmp-" not in str(tmpdir).name:
msg = f"{tmpdir} does not appear to be a tmpdir... exiting for safety!"
raise ValueError(msg)

Expand Down

0 comments on commit b11bd53

Please sign in to comment.