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

Set assets to pending during unembargo #2117

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

jjnesbitt
Copy link
Member

@jjnesbitt jjnesbitt commented Dec 18, 2024

This addresses the effects of #2116. Currently, without this change, every asset of a previously unembargoed dandiset can be left with the validation error An embargo end date is required for NIH awards to be in compliance with NIH resource sharing policy.. Now, when a dandiset is unembargoed, all assets will be set to PENDING status, so that their metadata can be re-validated.

@jjnesbitt jjnesbitt force-pushed the set-assets-pending-during-unembargo branch from 2bb83e4 to 914a1d5 Compare December 19, 2024 15:58
@jjnesbitt jjnesbitt force-pushed the set-assets-pending-during-unembargo branch from 914a1d5 to 413c4d8 Compare December 19, 2024 16:20
@jjnesbitt jjnesbitt marked this pull request as ready for review December 19, 2024 16:37
@jjnesbitt
Copy link
Member Author

@yarikoptic @jwodder It seems the integration tests are failing, although I can't really discern why, as there's so much log output. It's just the test_update_dandiset_from_doi test that's failing, but in all parameterizations. Maybe the tests need to be updated? I'm not really sure why this change would affect those tests.

@jwodder
Copy link
Member

jwodder commented Dec 19, 2024

@jjnesbitt It looks like the tests are failing because they expect Dandiset "citation" fields to say "DANDI archive" instead of "DANDI Archive".

@jjnesbitt
Copy link
Member Author

jjnesbitt commented Dec 19, 2024

@jjnesbitt It looks like the tests are failing because they expect Dandiset "citation" fields to say "DANDI archive" instead of "DANDI Archive".

Hmm okay, seems like it's due to #2114 being merged. Could those tests be updated then?

@jwodder
Copy link
Member

jwodder commented Dec 19, 2024

@jjnesbitt dandi/dandi-cli#1555

@jjnesbitt
Copy link
Member Author

@jjnesbitt dandi/dandi-cli#1555

Much appreciated!

@jjnesbitt jjnesbitt added patch Increment the patch version when merged release Create a release when this pr is merged labels Jan 2, 2025
@jjnesbitt jjnesbitt merged commit ee7ed6f into master Jan 2, 2025
11 checks passed
jjnesbitt added a commit that referenced this pull request Jan 2, 2025
@jjnesbitt jjnesbitt deleted the set-assets-pending-during-unembargo branch January 2, 2025 18:40
@dandibot
Copy link
Member

dandibot commented Jan 2, 2025

🚀 PR was released in v0.4.4 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants