.
This commit is contained in:
+2
-2
@@ -115,7 +115,7 @@ def get_dicom_order(path):
|
||||
#get_dicom_order("/home/ross/Downloads/DICOM HEAD/STD4/SER1/*.dcm")
|
||||
|
||||
def pretty_print_dicom(dataset, indent=0):
|
||||
l = list(itertools.chain(*print_dicom(dataset, indent)))
|
||||
l = print_dicom(dataset, indent)
|
||||
print(l)
|
||||
return "\n<br/>".join(l)
|
||||
|
||||
@@ -148,4 +148,4 @@ def print_dicom(dataset, indent=0):
|
||||
l.append("{0:s} {1:s} = {2:s}".format(indent_string,
|
||||
data_element.name,
|
||||
repr_value))
|
||||
return l
|
||||
return "\n".join(l)
|
||||
Reference in New Issue
Block a user