Loading dicom_codes_without_MG/_02_dicom_to_vti_4D.py +7 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,13 @@ for n in range(n_times): else: vec_string = str(s[0x0051,0x1014].value) # If DICOM tag is in HEX, the following was thought to # be needed but proved not to be as the .value # function already has this covered. ##try: ## vec_string = bytes.fromhex(vec_string).decode('ascii') #except ValueError: ## pass print(" ", vec_string) vec = vec_string.split("v") vec = vec[1] Loading Loading
dicom_codes_without_MG/_02_dicom_to_vti_4D.py +7 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,13 @@ for n in range(n_times): else: vec_string = str(s[0x0051,0x1014].value) # If DICOM tag is in HEX, the following was thought to # be needed but proved not to be as the .value # function already has this covered. ##try: ## vec_string = bytes.fromhex(vec_string).decode('ascii') #except ValueError: ## pass print(" ", vec_string) vec = vec_string.split("v") vec = vec[1] Loading