Skip to content

DICOM: allow simple selection of series from environment variables#1929

Merged
jdtournier merged 2 commits intodevfrom
dicom_select_series_from_env_vars
Feb 5, 2020
Merged

DICOM: allow simple selection of series from environment variables#1929
jdtournier merged 2 commits intodevfrom
dicom_select_series_from_env_vars

Conversation

@jdtournier
Copy link
Copy Markdown
Member

@jdtournier jdtournier commented Jan 30, 2020

Another branch that was lying around gathering dust...

This allows the use of simple wildcard pattern matching with patterns supplied via the environment variables:

  • DICOM_PATIENT to match PatientName
  • DICOM_ID to match PatientID
  • DICOM_STUDY to match StudyName
  • DICOM_SERIES to match SeriesName

Example usage:

DICOM_SERIES='diff*iPat2' DICOM_PATIENT='*donald*' mrinfo dicom/

This allows the use of simple wildcard pattern matching with patterns
supplied via the environment variables:
- DICOM_PATIENT to match PatientName
- DICOM_ID      to match PatientID
- DICOM_STUDY   to match StudyName
- DICOM_SERIES  to match SeriesName

Example usage:

DICOM_SERIES='diff*iPat2' DICOM_PATIENT='*donald*' mrinfo dicom/
@jdtournier jdtournier added this to the MRtrix3 3.0 release milestone Jan 30, 2020
@jdtournier jdtournier requested a review from a team January 30, 2020 17:17
@jdtournier jdtournier self-assigned this Jan 30, 2020
@jdtournier jdtournier merged commit cd51b50 into dev Feb 5, 2020
@jdtournier jdtournier deleted the dicom_select_series_from_env_vars branch February 5, 2020 20:03
Lestropie added a commit that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant