This PR addresses the issue #62. With the new interactive QC implemented in SCT 5.3, the .yml list includes the absolute path. However, manual_correction.py takes a .yml list with only the filenames.
This PR includes:
In manual_correction.py : A function that modifies the dict created with the yml list to keep only filenames. The function is called before the rest of the script so that it can run as it did before with the old .yml file format. We can also add to the list filenames without the absolute path and it will still work (e.g.: if we want to manually edit the list).
An update of the instructions in README.md with the new interactive QC.
Description
This PR addresses the issue #62. With the new interactive QC implemented in SCT 5.3, the .yml list includes the absolute path. However,
manual_correction.py
takes a .yml list with only the filenames.This PR includes:
manual_correction.py
: A function that modifies the dict created with the yml list to keep only filenames. The function is called before the rest of the script so that it can run as it did before with the old .yml file format. We can also add to the list filenames without the absolute path and it will still work (e.g.: if we want to manually edit the list).README.md
with the new interactive QC.Linked issue
Fixes #62