From 181448fc3f4b4d96e11898de59af4cd3f4d6a1b4 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sun, 23 Jan 2022 10:07:32 +0100 Subject: [PATCH] Updated default config --- post_process/animate/__main__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/post_process/animate/__main__.py b/post_process/animate/__main__.py index 12695ba..852785d 100644 --- a/post_process/animate/__main__.py +++ b/post_process/animate/__main__.py @@ -6,11 +6,10 @@ parser = argparse.ArgumentParser( parser.add_argument('var', type=str, help='OpenFoam variable to display') parser.add_argument('-c', '--config', type=str, - help='Configuration file') + default='config.ini', + help='Configuration file (default config.ini)') args = parser.parse_args() -if args.config == None: - args.config = 'config.ini' if args.var == 'alpha.water': import alpha_water