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

[DAR-4299][External] Allow import of NifTI annotations to dataset items with >1 slot #940

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

JBWilkie
Copy link
Collaborator

@JBWilkie JBWilkie commented Oct 10, 2024

Problem

In darwin-py 1.0.4 as part of DAR-2981, we prevented non-Darwin JSON 2.0 annotations from being imported to dataset items with >1 slot. This makes sense, except in the case of NifTI annotations, where we do want to allow users to import annotations to multi-slotted items

Therefore this ticket adds nifti to the list of supported multi-slotted formats. No other format should be supported at the time of this ticket

Solution

This ticket adds nifti to the list of annotation formats that allow import to multi-slotted dataset items

Changelog

Allow import of nifti annotations to multi-slotted dataset items

@@ -2118,9 +2118,10 @@ def _display_slot_warnings_and_errors(
If there are any warnings generated and the annotation format is not Darwin JSON 2.0
Copy link
Contributor

@dorfmanrobert dorfmanrobert Oct 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update this doc as well probably

@JBWilkie JBWilkie merged commit 11fb90b into master Oct 11, 2024
23 checks passed
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