From 11665220c77896478a40bf234f9ba39a84c60331 Mon Sep 17 00:00:00 2001 From: Kei Date: Tue, 4 Jul 2023 16:37:46 +0200 Subject: [PATCH 1/2] update argpar.py --- turtleFSI/utils/argpar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turtleFSI/utils/argpar.py b/turtleFSI/utils/argpar.py index c1acedc..3ce9232 100644 --- a/turtleFSI/utils/argpar.py +++ b/turtleFSI/utils/argpar.py @@ -120,7 +120,7 @@ def restricted_float(x): def parse(): - parser = configargparse.ArgParser(config_file_parser_class=configargparse.ConfigparserConfigFileParser, + parser = configargparse.ArgParser( description=("turtleFSI is an open source Fluid-Structure Interaction (FSI) solver written in Python " + "and built upon the FEniCS finite element library. The purpose of turtleFSI is to " + "provide a user friendly and numerically robust monolithic FSI solver able to handle " From 73c80b87a5bbec9068276f4ef15ba8884da4ed70 Mon Sep 17 00:00:00 2001 From: Kei Date: Tue, 4 Jul 2023 16:38:52 +0200 Subject: [PATCH 2/2] delete section requirement --- docs/examples/example.config | 1 - docs/examples/example.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/examples/example.config b/docs/examples/example.config index 2fa1fbd..8b14931 100644 --- a/docs/examples/example.config +++ b/docs/examples/example.config @@ -1,5 +1,4 @@ # Configuration file for turtleFSI -[Parameter for turtleFSI] # Section is required by configargparse but is not used anywhere in turtleFSI ################################################################################ # Define solver, numerics, and problem file ################################################################################ diff --git a/docs/examples/example.yaml b/docs/examples/example.yaml index b132c15..bb5f452 100644 --- a/docs/examples/example.yaml +++ b/docs/examples/example.yaml @@ -1,5 +1,4 @@ # Configuration file for turtleFSI -[Parameter for turtleFSI] # Section is required by configargparse but is not used anywhere in turtleFSI ################################################################################ # Define solver, numerics, and problem file ################################################################################