What's Changed
The result dictionary now has a standardised structure, consisting of the following elements:
results_dict = {
"task": "task_name",
"file": "DCM description or list of descriptions",
"measurement": {dict of key value pairs},
"report_image": [OPTIONAL list of paths to report images]
}
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** by default, while the list of 40 values is available with the `--verbose` option.
Behind the scene changes for processing the ACR images and slight improvements to the `slice_width` and `snr_map` task scripts.
Improved unit tests for ACR phantom Tasks.
* 374 standardise task input and output by sophie22 in https://github.com/GSTT-CSC/hazen/pull/375
* 381 Simplify unit tests for ACR tasks by sophie22 in https://github.com/GSTT-CSC/hazen/pull/381
* 386 Verbose option for slice position by sophie22 in https://github.com/GSTT-CSC/hazen/pull/387
**Full Changelog**: https://github.com/GSTT-CSC/hazen/compare/1.3.0...v1.3.1