From 5950172fb2a3a83fab9af755e19c5795d203a128 Mon Sep 17 00:00:00 2001 From: valosekj Date: Fri, 22 Mar 2024 18:35:56 -0400 Subject: [PATCH] Add warning to check '-path-label' if no labels are found --- utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.py b/utils.py index f425875..f838ac5 100644 --- a/utils.py +++ b/utils.py @@ -237,6 +237,8 @@ def check_files_exist(dict_yml, path_img, path_label, suffix_dict): logging.warning(f"\nThe following label files are missing: \n{missing_files_labels}") logging.warning(f"\nPlease check that the used suffix {sorted(missing_suffixes)} is correct. " "If not, you can provide custom suffix using '-suffix-files-' flags.\n") + logging.warning(f"Also check that the path specified by the '-path-label' flag points to the folder with " + f"the labels.\n") def check_output_folder(path_bids):