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

Apply limit to decimal places of ContourData DICOM item #80

Open
tomaroberts opened this issue Feb 13, 2023 · 1 comment
Open

Apply limit to decimal places of ContourData DICOM item #80

tomaroberts opened this issue Feb 13, 2023 · 1 comment

Comments

@tomaroberts
Copy link
Contributor

tomaroberts commented Feb 13, 2023

Hi there,

Really nice package – great work.

I've been using rt-utils recently to create some RT Struct DICOM files which we would like to open in the Eclipse software platform. The RT Struct writer works and I get the DICOM files, however, when we import them into Eclipse, the logs state that the byte limit on the ContourData DICOM item has been exceeded.

According to the DICOM standard, there is a 16 byte maximum size for DS items (see here for screenshot from NEMA website).

Would it be possible to amend rt-utils so that it caps the number of decimal places on the item?

Edit – realised I was being silly: PR here.

Many thanks.

@tomaroberts
Copy link
Contributor Author

@asim-shrestha

Would you be able to do new PyPI release with the latest changes? It would save me hacking a workaround to get the latest version that's on main branch.

I've tried installing rt-utils via pip and calling the latest Git commit directly, e.g. pip install -e git+https://github.com/qurit/rt-utils@769acd6#egg=rt-utils and also pip install -e git+https://github.com/qurit/rt-utils@main#egg=rt-utils, plus other variations on this... however, whenever I open a Python prompt and type import rt_utils it says ModuleNotFoundError in each case. My hunch is that it's something to do with the setup.py, but rather than spend ages debugging here, would be great to get new PyPI release! 🙏

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

No branches or pull requests

1 participant