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

px-push documentation is out-of-date with its actual defaults #27

Open
jennydaman opened this issue Mar 14, 2024 · 0 comments
Open

px-push documentation is out-of-date with its actual defaults #27

jennydaman opened this issue Mar 14, 2024 · 0 comments

Comments

@jennydaman
Copy link
Contributor

pypx/bin/px-push

Lines 179 to 185 in 7b83154

Default: "%PatientID-%PatientName-%PatientBirthData-%PatientAge"
[--studyDirTemplate <studyTemplate>]
A string template for the study directory name in which to push a
given DICOM.
Default: "%StudyDescription-%AccessionNumber-%StudyDate"

%PatientAge is in the wrong place in the help text.

pypx/pypx/push.py

Lines 165 to 180 in 7b83154

parser.add_argument(
'--rootDirTemplate',
action = 'store',
dest = 'str_rootDirTemplate',
type = str,
default = '%PatientID-%PatientName-%PatientBirthDate',
help = 'Template pattern for root unpack directory'
)
parser.add_argument(
'--studyDirTemplate',
action = 'store',
dest = 'str_studyDirTemplate',
type = str,
default = '%StudyDescription-%AccessionNumber-%StudyDate-%PatientAge-%AgeInDays',
help = 'Template pattern for study unpack directory'
)

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