comparison Resources/Samples/Python/AutoClassify.py @ 2032:65b1ce7cb84f

Replaced "localhost" by "127.0.0.1", as it might impact performance on Windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 Jun 2016 09:26:56 +0200
parents b1291df2f780
children 7e6afa0beaf6
comparison
equal deleted inserted replaced
2031:a6e8e2251304 2032:65b1ce7cb84f
28 28
29 parser = argparse.ArgumentParser( 29 parser = argparse.ArgumentParser(
30 description = 'Automated classification of DICOM files from Orthanc.', 30 description = 'Automated classification of DICOM files from Orthanc.',
31 formatter_class = argparse.ArgumentDefaultsHelpFormatter) 31 formatter_class = argparse.ArgumentDefaultsHelpFormatter)
32 32
33 parser.add_argument('--host', default = 'localhost', 33 parser.add_argument('--host', default = '127.0.0.1',
34 help = 'The host address that runs Orthanc') 34 help = 'The host address that runs Orthanc')
35 parser.add_argument('--port', type = int, default = '8042', 35 parser.add_argument('--port', type = int, default = '8042',
36 help = 'The port number to which Orthanc is listening for the REST API') 36 help = 'The port number to which Orthanc is listening for the REST API')
37 parser.add_argument('--target', default = 'OrthancFiles', 37 parser.add_argument('--target', default = 'OrthancFiles',
38 help = 'The target directory where to store the DICOM files') 38 help = 'The target directory where to store the DICOM files')