Пример #1
0
def main():
    positional_args = [
        (('path',), dict(help='path to DICOM files')),
    ]
    optional_args = [
    ]
    reaper.main(DicomFileReaper, positional_args, optional_args)
Пример #2
0
def main():
    positional_args = [
        (('path',), dict(help='path to MEEG files')),
    ]
    optional_args = [
    ]
    reaper.main(MEEGFileReaper, positional_args, optional_args)
Пример #3
0
def main():
    positional_args = [
        (('path',), dict(help='path to DICOM files')),
    ]
    optional_args = [
        (('-d', '--destructive'), dict(action='store_true', help='delete data after reaping'))
    ]
    reaper.main(DicomFileReaper, positional_args, optional_args)
Пример #4
0
def main():
    positional_args = [
        (('path',), dict(help='path to PFiles')),
    ]
    optional_args = [
        (('-A', '--no-anonymize'), dict(dest='anonymize', action='store_false', help='do not anonymize patient name and birthdate')),
        (('-b', '--blacklist'), dict(default='discard', help='space-separated list of identifiers to discard ["discard"]')),
        (('-w', '--whitelist'), dict(default='*', help='glob for identifiers to reap ["*"]')),
        (('-i', '--identifier'), dict(default='PatientID', help='metadata field to use for identification ["PatientID"]')),
    ]
    reaper.main(PFileReaper, positional_args, optional_args)
Пример #5
0
def main():
    positional_args = [
        (('host',), dict(help='remote hostname or IP')),
        (('port',), dict(help='remote port')),
        (('return_port',), dict(help='local return port')),
        (('aet',), dict(help='local AE title')),
        (('aec',), dict(help='remote AE title')),
    ]
    optional_args = [
        (('-A', '--no-anonymize'), dict(dest='anonymize', action='store_false', help='do not anonymize patient name and birthdate')),
        (('-b', '--blacklist'), dict(default='discard', help='space-separated list of identifiers to discard ["discard"]')),
        (('-w', '--whitelist'), dict(default='*', help='glob for identifiers to reap ["*"]')),
    ]
    reaper.main(DicomNetReaper, positional_args, optional_args)