comparison Plugins/WSI/Run.py @ 460:281a599f5338

fix
author Alain Mazy <am@osimis.io>
date Wed, 30 Mar 2022 09:54:11 +0200
parents 723d4535252e
children 933fe1bbce4f
comparison
equal deleted inserted replaced
459:723d4535252e 460:281a599f5338
107 print('\n'.join(filter(lambda x: x.startswith('=='), log.splitlines()))) 107 print('\n'.join(filter(lambda x: x.startswith('=='), log.splitlines())))
108 108
109 109
110 def CallDicomizer(suffix): 110 def CallDicomizer(suffix):
111 CallCommand([ args.dicomizer, 111 CallCommand([ args.dicomizer,
112 '--orthanc=%s' % args.server, 112 '--orthanc=http://%s:%s' % (args.server, args.rest),
113 '--username=%s' % args.username, 113 '--username=%s' % args.username,
114 '--password=%s' % args.password ] + suffix 114 '--password=%s' % args.password ] + suffix
115 ) 115 )
116 116
117 117
118 def CallDicomToTiff(suffix): 118 def CallDicomToTiff(suffix):
119 CallCommand([ args.to_tiff, 119 CallCommand([ args.to_tiff,
120 '--orthanc=%s' % args.server, 120 '--orthanc=http://%s:%s' % (args.server, args.rest),
121 '--username=%s' % args.username, 121 '--username=%s' % args.username,
122 '--password=%s' % args.password ] + suffix) 122 '--password=%s' % args.password ] + suffix)
123 123
124 124
125 def CallTiffInfoOnSeries(series): 125 def CallTiffInfoOnSeries(series):