You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue summarizes changes between the manual_correction.py script used during previous SCT courses (see issue here) and the current manual_correction.py (r20231101) script located within this repository.
The following section describes an example from the SCT 6.1 course, slide 147:
Considering the following folder (produced by sct_run_batch):
Notable changes compared to the manual_correction.py script used during previous SCT courses:
-path-in has been renamed to -path-img
path-label has to be provided. In this particular example, paths for both -path-img and -path-label are the same (because both the images and the labels are in the same data_processed folder). If -path-label is not provided, the script assumes that the labels are located under derivatives/labels.
no -manual suffix is used - to be in line with our convention, we do not use the -manual suffix anymore -- the information about the label provenance is stored in the JSON sidecar
the script tracks corrected files -- after running the manual_correction.py command, the qc_fail.yml config file is updated with the CORR_SEG flag (in order to track the corrected files):
CORR_SEG:
- sub-03_T2w.nii.gzFILES_SEG: []
The text was updated successfully, but these errors were encountered:
This issue summarizes changes between the
manual_correction.py
script used during previous SCT courses (see issue here) and the currentmanual_correction.py
(r20231101) script located within this repository.The following section describes an example from the SCT 6.1 course, slide 147:
Considering the following folder (produced by
sct_run_batch
):And the following
qc_fail.yml
config file listing images to correct:The
manual_correction.py
command is:python manual_correction.py -config qc_fail.yml -path-img output/data_processed -path-label output/data_processed -path-out data/derivatives/labels
Notable changes compared to the
manual_correction.py
script used during previous SCT courses:-path-in
has been renamed to-path-img
path-label
has to be provided. In this particular example, paths for both-path-img
and-path-label
are the same (because both the images and the labels are in the samedata_processed
folder). If-path-label
is not provided, the script assumes that the labels are located underderivatives/labels
.-manual
suffix is used - to be in line with our convention, we do not use the-manual
suffix anymore -- the information about the label provenance is stored in the JSON sidecarmanual_correction.py
command, theqc_fail.yml
config file is updated with theCORR_SEG
flag (in order to track the corrected files):The text was updated successfully, but these errors were encountered: