Skip to content

Commit

Permalink
Remove forceful creation of figures directory on import
Browse files Browse the repository at this point in the history
This was added during the process of getting the inlined docs to
build with GitHub Actions, but in the end it didn't work anyway.
And it quickly leads to unnecessary exceptions when emd-falsify is used as a library.
  • Loading branch information
Alexandre René committed Feb 6, 2024
1 parent 9eece58 commit 4d90db7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/emd_falsify/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class Config(ValConfig):
class paths:
figures : Path

ensure_dir_exists = validator('figures', allow_reuse=True)(ensure_dir_exists)
# This is typically used as a library: don’t create random paths on users’ computers
#ensure_dir_exists = validator('figures', allow_reuse=True)(ensure_dir_exists)

class mp:
max_cores: int
Expand Down

0 comments on commit 4d90db7

Please sign in to comment.