nipype / pydra

Pydra Dataflow Engine
https://nipype.github.io/pydra/
Other
120 stars 59 forks source link

Special handling of bytes_repr for mock filesets #743

Closed tclose closed 4 months ago

tclose commented 6 months ago

Types of changes

Summary

Implements special bytes_repr function for mocked filesets in(i.e. produced by Nifti1.mock("/path/to/mock")) as the fileset one yields the file mtimes in the cache key, which obviously don't exist for mocked files.

Checklist

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 69.23077% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 84.23%. Comparing base (7d84fba) to head (bdf6abf). Report is 2 commits behind head on master.

:exclamation: Current head bdf6abf differs from pull request most recent head dd6fa8a

Please upload reports for the commit dd6fa8a to get more accurate results.

Files Patch % Lines
pydra/utils/hash.py 69.23% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #743 +/- ## =========================================== + Coverage 15.14% 84.23% +69.09% =========================================== Files 53 26 -27 Lines 15693 5137 -10556 Branches 2788 1450 -1338 =========================================== + Hits 2376 4327 +1951 + Misses 12988 804 -12184 + Partials 329 6 -323 ``` | [Flag](https://app.codecov.io/gh/nipype/pydra/pull/743/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipype) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nipype/pydra/pull/743/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipype) | `84.23% <69.23%> (+69.12%)` | :arrow_up: | 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=nipype#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.