Closed Janetxxx closed 2 years ago
Hi @Janetxxx,
the error being reported in the tests here is due to the change in the directory structure etc. There is now a function called load_object_metadata
which makes loading the meta data for an image easier.
You can find the function here: from pydicer.utils import load_object_metadata
And it should be as simple as:
ds_dict = load_object_metadata(row)
The function will find and read the json for you :)
Write metadata about image in top-right white space for the imaging Visualiser:
Didn't find MaximumDose attribute in pydicom dataset.