Skip to content

Conversation

@JBWilkie
Copy link
Contributor

@JBWilkie JBWilkie commented Jun 5, 2024

Problem

A change made in DAR-1165 accidentally introduced a bug whereby NifTI exports of files containing no polygons would fail.

Solution

  • 1: Only attempt to export polygons if any polygon annotations are present
  • 2: Added unit tests to make sure we're calling the polygon to volume & mask to volume functions when appropriate

Changelog

Fixed issue that caused NifTI exports without polygons to fail

@linear
Copy link

linear bot commented Jun 5, 2024

@JBWilkie JBWilkie merged commit 11a7811 into master Jun 5, 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