Skip to content

Accessibility improvements in DICOM classes #905

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

Merged
merged 2 commits into from
Mar 7, 2020

Conversation

cpinter
Copy link
Member

@cpinter cpinter commented Mar 5, 2020

ENH: Add python accessibility for DICOM table view functions
ENH: Allow query of any field from DICOM database

Copy link
Member

@pieper pieper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cpinter
Copy link
Member Author

cpinter commented Mar 5, 2020

Thanks, @pieper ! If you think there is no need for further reviews, then please go ahead and integrate it (I don't have the rights for CTK). Then I can bump the CTK hash in Slicer. Thank you!

Copy link
Member

@lassoan lassoan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I've added some small comments/questions

cpinter added 2 commits March 6, 2020 13:49
- Make properties of some of the public functions in DICOM table view
- Fix bug where the query table name was retrieved from the table name label, so when customizing the label, the query did not work any more
There were convenience functions for certain queries from the DICOM database, but in order to get information more easily, I added displayedNameForPatient (in addition to the existing nameForPatient) because this field is the human readable name of the patient, and three functions for querying any field: fieldForPatient, fieldForStudy, and fieldForSeries.

To be able to query the list of available field (column) names, new functions have been added: patientFieldNames, studyFieldNames, seriesFieldNames
@cpinter cpinter force-pushed the dicom-table-view-python branch from 9d7686d to 78e7072 Compare March 6, 2020 13:51
@cpinter
Copy link
Member Author

cpinter commented Mar 6, 2020

@lassoan I updated the PR according to your requests.

@lassoan lassoan merged commit 8b19d86 into commontk:master Mar 7, 2020
@lassoan
Copy link
Member

lassoan commented Mar 7, 2020

Thanks for the updates, merged.

@cpinter
Copy link
Member Author

cpinter commented Mar 8, 2020

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants