source/dcm_transform.py
def pn_callback(dataset, data_element):
    """Called from the dataset "walk" recursive function for all data elements."""
    if data_element.VR == "PN":
        data_element.value = ARGS.an
        # print (data_element.value)
Called from the dataset "walk" recursive function for all data elements.
Called from the dataset "walk" recursive function for all data elements.
Called from the dataset " walk " recursive function for all data elements .
def pn_callback(dataset, data_element):
    if data_element.VR == "PN":
        data_element.value = ARGS.an
def pn_callback ( dataset , data_element ) : if data_element . VR == "PN" : data_element . value = ARGS . an
Called from the dataset "walk" recursive function for all data elements.
Called from the dataset " walk " recursive function for all data elements .
"""Called from the dataset "walk" recursive function for all data elements.""" # print (data_element.value)
dataset
data_element