When doing corrections of already existing labels (located under derivatives\labels), the manual_correction.py script returns a lot of warnings when checking for missing files.
The reason is that the utils.check_files_exist function was originally designed to check the labels in the directory provided by -path-in (for example, ~/<your_dataset>/data_to_correct) when running the corrections for the first time.
But here, we are doing another round of corrections.
When doing corrections of already existing labels (located under
derivatives\labels
), themanual_correction.py
script returns a lot of warnings when checking for missing files.https://github.com/spinalcordtoolbox/manual-correction/blob/919329dd6a5a3fef8e9ffb17b9c876bc40d888a9/manual_correction.py#L575-L577
The reason is that the
utils.check_files_exist
function was originally designed to check the labels in the directory provided by-path-in
(for example,~/<your_dataset>/data_to_correct
) when running the corrections for the first time.But here, we are doing another round of corrections.
TODO: limit warnings in this case