-
Notifications
You must be signed in to change notification settings - Fork 262
increase sanity threshold for n_items per csa tag #242
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
increase sanity threshold for n_items per csa tag #242
Conversation
Thanks for this - would you mind adding a test? |
Thanks for that. I submitted a PR will a few small changes. I noticed that when I increased the threshold for n_items, to try and read the 200n string, I got another error - is the 200n csa string valid? Are you sure there is no identifiable patient data in the csa files? |
The previous 200n csa string was not valid. It has been replaced with a valid one (it worked for me). Both new csastrings have absolutely no identifiable patient data. note: force pushed over 1 commit. |
Make error more explicit for too many items in the csa structure. Add module global for max items and test
Thanks for that. Consider also merging my PR to your branch? kevlarkevin#1 |
MRG: A little refactoring
Thanks for your PR. Much better test than what I had. |
MRG: increase sanity threshold for n_items per csa tag Allow more items in csa tags.
…rtion MRG: increase sanity threshold for n_items per csa tag Allow more items in csa tags.
This pull request increases the sanity threshold for the number of items per CSA Header tag from 100 to 200. Some derived Siemens dicoms have CSA tags with more than 100 items.