Closed sophie22 closed 1 year ago
Coverage Report
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
201 | 0 :zzz: | 0 :x: | 0 :fire: | 3m 51s :stopwatch: |
Stage 1: standardise input for task.run() function - complete and tests have been adapted
Stage 2: round measurement results to decimal points agreed with the physicists - complete, tests have been adapted
Stage 3: standardise structure of output dictionary to be like:
results = {
"task": "task_name",
"file": "DCM description or list of descriptions",
"measurement": {dict of key value pairs},
"report_image": [list of paths to report images]
}
task_results.txt ^updated output results, including changes to SNR task results
@YassineAzma @elizaGSTT if you have time and capacity, please check that the wording, units and precision is sensible in all task outputs.
HazenTask objects expect a dcm_list input, single_dcm attribute is created in relevant task classes
HazenTask class objects to be initialised with a list of file paths to DICOM images (
input_data: list
), which are then used directly in tasks that process multiple images at once, or asingle_dcm
attribute is being created for tasks that process a single image at a time.The result dictionary now has a standardised structure, consisting of the following elements:
Furthermore, the values displayed in the result dictionary are being rounded to the appropriate precision and units are displayed in the key.
!!!CHANGE to OUTPUT!!! The Slice position task now returns only the maximum and average of slice positions, rather than a list of 40 values as previously.
Behind the scene changes for processing the ACR images and slight improvements to the
slice_width
andsnr_map
task scripts.resolves #374