Skip to content

Conversation

@JBWilkie
Copy link
Contributor

@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

@linear
Copy link

linear bot commented Oct 10, 2024

Raises
------
TypeError
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
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.

3 participants