Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include root-dataset and sub-dataset in UUID-set #333

Merged
merged 3 commits into from
Feb 24, 2023

Conversation

christian-monch
Copy link
Collaborator

Fixes #322

This commit fixes a bug in which sub-dataset entries in the tree-version-list and in the uuid-set would be overriden, if the dataset was a sub-dataset.

The changed code correctly re-uses the top-level nodes that already contain the sub-dataset when adding the super-dataset instead of creating new, empty top-level nodes.

This commit fixes a bug in which dataset ids were
checked even with un-versioned dataset tree paths
@codecov-commenter
Copy link

codecov-commenter commented Feb 24, 2023

Codecov Report

Base: 86.47% // Head: 86.31% // Decreases project coverage by -0.17% ⚠️

Coverage data is based on head (e04ab05) compared to base (e5d409c).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head e04ab05 differs from pull request most recent head 99d9fe3. Consider uploading reports for the commit 99d9fe3 to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##           maint_0.4     #333      +/-   ##
=============================================
- Coverage      86.47%   86.31%   -0.17%     
=============================================
  Files             88       88              
  Lines           4829     4836       +7     
=============================================
- Hits            4176     4174       -2     
- Misses           653      662       +9     
Impacted Files Coverage Δ
datalad_metalad/add.py 92.11% <100.00%> (+0.23%) ⬆️
datalad_metalad/conduct.py 59.47% <0.00%> (-4.74%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

The newly required version fixes the UUID set
issue and some other problems that appeared
when adding aggregated metadata.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants