[ENH]: Use junifer.utils.config to skip dataset id and dirty checks (time consuming) #403

Merged
fraimondo merged 7 commits from enh/skip_datalad_checks into main 2024-11-27 16:13:14 +00:00
fraimondo commented 2024-11-25 17:51:05 +00:00 (Migrated from github.com)

This PR uses the config module (#401) to implement a method for skipping checking the dataset ID and dirty status from datalad datasets that are already installed.

Checking the ID requires cloning into a temporary directory. Checking dirty status requires a call to datalad status.

These operations are time conusming.

This PR requires merging #401 first.

This PR uses the config module (#401) to implement a method for skipping checking the dataset ID and dirty status from datalad datasets that are already installed. Checking the ID requires cloning into a temporary directory. Checking dirty status requires a call to datalad status. These operations are time conusming. This PR requires merging #401 first.
codecov[bot] commented 2024-11-26 14:59:10 +00:00 (Migrated from github.com)

Codecov Report

Attention: Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.

Project coverage is 0.01%. Comparing base (654f409) to head (3dd47fc).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
junifer/datagrabber/datalad_base.py 0.00% 22 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##            main    #403      +/-   ##
========================================
- Coverage   0.01%   0.01%   -0.01%     
========================================
  Files        132     133       +1     
  Lines       5495    5549      +54     
========================================
  Hits           1       1              
- Misses      5494    5548      +54     
Flag Coverage Δ
docs 100.00% <ø> (ø)
junifer 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
docs/conf.py 100.00% <ø> (ø)
junifer/datagrabber/datalad_base.py 0.00% <0.00%> (ø)

... and 9 files with indirect coverage changes

## [Codecov](https://app.codecov.io/gh/juaml/junifer/pull/403?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) Report Attention: Patch coverage is `0%` with `22 lines` in your changes missing coverage. Please review. > Project coverage is 0.01%. Comparing base [(`654f409`)](https://app.codecov.io/gh/juaml/junifer/commit/654f4095960abb603007ccec66f04cc0201fa635?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) to head [(`3dd47fc`)](https://app.codecov.io/gh/juaml/junifer/commit/3dd47fc3ee93e4fa5edf9abc969c56f249955c91?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml). > Report is 8 commits behind head on main. | [Files with missing lines](https://app.codecov.io/gh/juaml/junifer/pull/403?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | Patch % | Lines | |---|---|---| | [junifer/datagrabber/datalad\_base.py](https://app.codecov.io/gh/juaml/junifer/pull/403?src=pr&el=tree&filepath=junifer%2Fdatagrabber%2Fdatalad_base.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml#diff-anVuaWZlci9kYXRhZ3JhYmJlci9kYXRhbGFkX2Jhc2UucHk=) | 0.00% | [22 Missing :warning: ](https://app.codecov.io/gh/juaml/junifer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | <details><summary>Additional details and impacted files</summary> [![Impacted file tree graph](https://app.codecov.io/gh/juaml/junifer/pull/403/graphs/tree.svg?width=650&height=150&src=pr&token=5H21JuZXMw&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml)](https://app.codecov.io/gh/juaml/junifer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) ```diff @@ Coverage Diff @@ ## main #403 +/- ## ======================================== - Coverage 0.01% 0.01% -0.01% ======================================== Files 132 133 +1 Lines 5495 5549 +54 ======================================== Hits 1 1 - Misses 5494 5548 +54 ``` | [Flag](https://app.codecov.io/gh/juaml/junifer/pull/403/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | Coverage Δ | | |---|---|---| | [docs](https://app.codecov.io/gh/juaml/junifer/pull/403/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | `100.00% <ø> (ø)` | | | [junifer](https://app.codecov.io/gh/juaml/junifer/pull/403/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | `0.00% <0.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=juaml#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/juaml/junifer/pull/403?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | Coverage Δ | | |---|---|---| | [docs/conf.py](https://app.codecov.io/gh/juaml/junifer/pull/403?src=pr&el=tree&filepath=docs%2Fconf.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml#diff-ZG9jcy9jb25mLnB5) | `100.00% <ø> (ø)` | | | [junifer/datagrabber/datalad\_base.py](https://app.codecov.io/gh/juaml/junifer/pull/403?src=pr&el=tree&filepath=junifer%2Fdatagrabber%2Fdatalad_base.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml#diff-anVuaWZlci9kYXRhZ3JhYmJlci9kYXRhbGFkX2Jhc2UucHk=) | `0.00% <0.00%> (ø)` | | ... and [9 files with indirect coverage changes](https://app.codecov.io/gh/juaml/junifer/pull/403/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) </details>
github-actions[bot] commented 2024-11-26 15:07:54 +00:00 (Migrated from github.com)
PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-11-27 16:26 UTC
[PR Preview Action](https://github.com/rossjrw/pr-preview-action) v1.4.8 :---: Preview removed because the pull request was closed. 2024-11-27 16:26 UTC <!-- Sticky Pull Request Commentpr-preview -->
synchon (Migrated from github.com) approved these changes 2024-11-27 11:57:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
juaml/junifer!403
No description provided.