mirror of
https://github.com/vale981/hopsflow
synced 2025-03-05 08:51:37 -05:00
make parent, not file
This commit is contained in:
parent
97e3fe38e9
commit
c2fbda0a16
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ def ensemble_mean(
|
|||
|
||||
if save:
|
||||
path = Path(save)
|
||||
path.mkdir(parents=True, exist_ok=True)
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
with path.open("wb") as f:
|
||||
np.save(f, results)
|
||||
|
|
Loading…
Add table
Reference in a new issue