comparison OrthancServer/Resources/GenerateAnonymizationProfile.py @ 4676:caf963ee3de9

DicomModification_Anonymization2017c.impl.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jun 2021 19:44:43 +0200
parents 7e4d1f2b3a8f
children 2e850edf03d6
comparison
equal deleted inserted replaced
4675:7e4d1f2b3a8f 4676:caf963ee3de9
62 indentation = 65 62 indentation = 65
63 63
64 if len(command) > indentation: 64 if len(command) > indentation:
65 raise Exception('Too long command') 65 raise Exception('Too long command')
66 66
67 line = ' ' + command + (' ' * (indentation - len(command))) + '// ' + name 67 line = command + (' ' * (indentation - len(command))) + '// ' + name
68 LINES.append(line) 68 LINES.append(line)
69 69
70 def FormatUnknown(rawTag, name, profile): 70 def FormatUnknown(rawTag, name, profile):
71 FormatLine('// TODO: %s with rule %s' % (rawTag, profile), name) 71 FormatLine('// TODO: %s with rule %s' % (rawTag, profile), name)
72 72