materialsproject / jobflow

jobflow is a library for writing computational workflows.
https://materialsproject.github.io/jobflow
Other
90 stars 24 forks source link

`run_locally()` add `root_dir: str | Path | None` keyword #486

Closed janosh closed 9 months ago

janosh commented 9 months ago

So users don't have to change directory to control where flows run.

Added a test and docs.

codecov[bot] commented 9 months ago

Codecov Report

Merging #486 (bf36d98) into main (61bbaa4) will increase coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Current head bf36d98 differs from pull request most recent head a8d4587. Consider uploading reports for the commit a8d4587 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #486 +/- ## ======================================= Coverage 99.86% 99.86% ======================================= Files 20 20 Lines 1508 1509 +1 Branches 415 415 ======================================= + Hits 1506 1507 +1 Misses 2 2 ``` | [Files](https://app.codecov.io/gh/materialsproject/jobflow/pull/486?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=materialsproject) | Coverage Δ | | |---|---|---| | [src/jobflow/managers/local.py](https://app.codecov.io/gh/materialsproject/jobflow/pull/486?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=materialsproject#diff-c3JjL2pvYmZsb3cvbWFuYWdlcnMvbG9jYWwucHk=) | `100.00% <100.00%> (ø)` | |