You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.error('Error with command. Return code = {0}'.format(p.returncode))
106
+
log.error('Error with command. Return code = %d', p.returncode)
109
107
raiseRuntimeError(out)
110
108
print(out.rstrip())
111
109
metadata['acquisition']['uid'] =out.rstrip()
112
110
print(metadata)
113
111
114
112
115
-
116
113
defupdate_arg_parser(ap):
117
114
# pylint: disable=missing-docstring
118
115
ap.add_argument('host', help='remote hostname or IP')
@@ -122,7 +119,10 @@ def update_arg_parser(ap):
122
119
ap.add_argument('aec', help='remote AE title')
123
120
124
121
ap.add_argument('-A', '--no-anonymize', dest='anonymize', action='store_false', help='do not anonymize patient name and birthdate')
125
-
ap.add_argument('--uid-ext-command', dest='uid_ext_command', help='Command to execute against single source file to generate acquisition uid', default=None)
122
+
ap.add_argument('--uid-ext-command',
123
+
dest='uid_ext_command',
124
+
help='Command to execute against single source file to generate acquisition uid',
0 commit comments