pytask-dev / pytask

pytask is a workflow management system that facilitates reproducible data analyses.
https://pytask-dev.readthedocs.io/en/stable
Other
114 stars 10 forks source link

Fix path in "Node is dir" error message #561

Closed egerlach closed 9 months ago

egerlach commented 9 months ago

The error message currently displays the path to the source file of the task. This fixes it to be the path of the node being considered.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7fa5e9a) 97.80% compared to head (30b22aa) 97.80%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #561 +/- ## ======================================= Coverage 97.80% 97.80% ======================================= Files 106 106 Lines 8710 8710 ======================================= Hits 8519 8519 Misses 191 191 ``` | [Flag](https://app.codecov.io/gh/pytask-dev/pytask/pull/561/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytask-dev) | Coverage Δ | | |---|---|---| | [end_to_end](https://app.codecov.io/gh/pytask-dev/pytask/pull/561/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytask-dev) | `82.27% <0.00%> (-0.02%)` | :arrow_down: | | [integration](https://app.codecov.io/gh/pytask-dev/pytask/pull/561/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytask-dev) | `40.49% <0.00%> (ø)` | | | [unit](https://app.codecov.io/gh/pytask-dev/pytask/pull/561/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytask-dev) | `69.69% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytask-dev#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tobiasraabe commented 9 months ago

Thanks a lot, @egerlach!