Skip to content

Commit

Permalink
Add warning to check '-path-label' if no labels are found
Browse files Browse the repository at this point in the history
  • Loading branch information
valosekj committed Mar 22, 2024
1 parent 311ce8d commit 5950172
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5950172

Please sign in to comment.