Skip to content

I HAVE A PROBLEM #2

@SecondhandAlgorithmEngineer

Description

when i set as follow:
Please enter OVH target id: 5
Please enter OVH organ id: 6
select PTV Heart and Organs Lt Lung
Traceback (most recent call last):
File "d:/dicom_read/OVH-master/ovhcalc.py", line 176, in
main()
File "d:/dicom_read/OVH-master/ovhcalc.py", line 174, in main
ovhc=calculate_ovh(rtssfile, int(var1), int(var2), True)
File "d:/dicom_read/OVH-master/ovhcalc.py", line 68, in calculate_ovh
for k in range(0,len(ss['planes'][keyss[find_nearest_index([float(jss) for jss in keyss],z)]][0]['data'])):
TypeError: 'dict_keys' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions