From 45017c417e89894de2c229027cf16210953b1aaa Mon Sep 17 00:00:00 2001 From: Michele Guerini Rocco Date: Thu, 17 Oct 2024 15:20:23 +0200 Subject: [PATCH] scripts/gray_visual.py: fix default of -k --- scripts/gray_visual.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gray_visual.py b/scripts/gray_visual.py index 8604271..3145762 100644 --- a/scripts/gray_visual.py +++ b/scripts/gray_visual.py @@ -25,7 +25,7 @@ def cli_args() -> argparse.Namespace: '(containing gray.ini)') parser.add_argument('outputs', type=Path, help='filepath of the outputs directory') - parser.add_argument('--kind', '-k', default='raytracing', nargs='+', + parser.add_argument('--kind', '-k', default=['raytracing'], nargs='+', choices=['raytracing', 'beam', 'profiles', 'inputs'], help='which kind of information to visualise') parser.add_argument('--outfile', '-o',