From 6e072ff9ea98079fa4b332c93135c1dfb594e1e8 Mon Sep 17 00:00:00 2001 From: valosekj Date: Tue, 10 Dec 2024 21:00:35 -0500 Subject: [PATCH] update `-json-metadata` flag help --- manual_correction.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/manual_correction.py b/manual_correction.py index f10cccd..89a1a0e 100644 --- a/manual_correction.py +++ b/manual_correction.py @@ -245,9 +245,12 @@ def get_parser(): ) parser.add_argument( '-json-metadata', metavar="", required=False, - help="R|A custom JSON file containing metadata to be added to the JSON sidecar of all corrected labels. " + help="R|A custom JSON file containing metadata to be added to the output JSON sidecar of all corrected labels. " "This flag is useful, for example, when a label was obtained automatically and you want to include this " - "information into the JSON sidecar. " + "information into the JSON sidecar. \n" + "NOTE: the script automatically checks whether the JSON file already exists (for example when " + "automatically created by SCT 6.4+). If so, the script will reuse its metadata. In such cases, you do not " + "need to use this flag.\n" "Below is an example JSON file:\n" + dedent( """