qurit / rt-utils

A minimal Python library to facilitate the creation and manipulation of DICOM RTStructs.
MIT License
195 stars 57 forks source link

Make ContourSequence optional #68

Closed MaxenceLarose closed 1 year ago

MaxenceLarose commented 1 year ago

The get_contour_sequence_by_roi_number function now checks if roi_contour has the ContourSequence attribute. If it does, we return the sequence, i.e. roi_contour.ContourSequence. Otherwise, we return an empty sequence, i.e. Sequence().

asim-shrestha commented 1 year ago

Closes #67

MaxenceLarose commented 1 year ago

This pull request appears to have been closed instead of merged. Is it a mistake?

asim-shrestha commented 1 year ago

ah, apologies