Commit 88b37279 authored by Radek Galabov's avatar Radek Galabov
Browse files

Comment about hexadecimal encoding added.

parent 2bd3dc87
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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]