qurit / rt-utils

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

Add default values for some DICOM fields #94

Open jeffbaumes opened 1 year ago

jeffbaumes commented 1 year ago

This PR adds some fixes that I had found that I needed to handle some non-normative DICOM files. The defaults were the best I could assume by looking at e.g. the GDCM library which assumes axial orientation.

I am less sure about the fix for the setup.py file. This change was needed for me to get pip install -e . to work, otherwise I would get an error when trying to import rt_utils (would say module not found).