comparison Plugins/WSI/Run.py @ 459:723d4535252e

WSI tests: set orthanc url
author Alain Mazy <am@osimis.io>
date Wed, 30 Mar 2022 09:35:35 +0200
parents 06eea14c5906
children 281a599f5338
comparison
equal deleted inserted replaced
458:c4d8f9e18421 459:723d4535252e
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 '--username=%s' % args.username, 113 '--username=%s' % args.username,
113 '--password=%s' % args.password ] + suffix) 114 '--password=%s' % args.password ] + suffix
115 )
114 116
115 117
116 def CallDicomToTiff(suffix): 118 def CallDicomToTiff(suffix):
117 CallCommand([ args.to_tiff, 119 CallCommand([ args.to_tiff,
120 '--orthanc=%s' % args.server,
118 '--username=%s' % args.username, 121 '--username=%s' % args.username,
119 '--password=%s' % args.password ] + suffix) 122 '--password=%s' % args.password ] + suffix)
120 123
121 124
122 def CallTiffInfoOnSeries(series): 125 def CallTiffInfoOnSeries(series):