Commit f5b272b
authored
fix: also create parents during export directory creation (#197)
If the export directory doesn't exist, it will be created. However, this
fails if the parent also doesn't exist (e.g
`data/steel/output/transience/pickle` will fail if there is no
transcience folder yet).
This is fixed here. In a follow-up, one could probably migrate more of
the older `os.path` functions to use `Path`.1 parent 6d874db commit f5b272b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
0 commit comments