From 6e366f086554626df45ba23ff46cbad5e8aade7e Mon Sep 17 00:00:00 2001 From: Lukas Rothenberger Date: Tue, 17 Oct 2023 15:59:26 +0200 Subject: [PATCH] feat(explorer)[detection-result-dump]: enable by default --- discopop_explorer/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discopop_explorer/__main__.py b/discopop_explorer/__main__.py index 5a93e72ef..c7a476aae 100644 --- a/discopop_explorer/__main__.py +++ b/discopop_explorer/__main__.py @@ -64,7 +64,7 @@ def parse_args() -> ExplorerArguments: help="Dump PET Graph to JSON file. If a path is given, the PET Graph is written to the given file, otherwise to pet_dump.json", ) parser.add_argument( - "--dump-detection-result", type=str, nargs="?", default=None, const="explorer/detection_result_dump.json", + "--dump-detection-result", type=str, nargs="?", default="explorer/detection_result_dump.json", help="Dump DetectionResult object to JSON file. If a path is given, the DetectionResult object is written to the given file, otherwise to detection_result_dump.json. Contents are equivalent to the json output. NOTE: This dump contains a dump of the PET Graph!", )