From d8ce46b7b86cc8baf9e05f9932b1659a590bfb6f Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Fri, 11 Aug 2023 08:44:51 +0100 Subject: [PATCH] lagged steps --- ai_models/__init__.py | 2 +- ai_models/__main__.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ai_models/__init__.py b/ai_models/__init__.py index 17c34ee..7ffa855 100644 --- a/ai_models/__init__.py +++ b/ai_models/__init__.py @@ -5,4 +5,4 @@ # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. -__version__ = "0.1.0" +__version__ = "0.1.1" diff --git a/ai_models/__main__.py b/ai_models/__main__.py index 44134cc..6217521 100644 --- a/ai_models/__main__.py +++ b/ai_models/__main__.py @@ -92,9 +92,11 @@ def main(): parser.add_argument( "--assets-sub-directory", help="Load assets from a subdirectory of --assets based on the name of the model.", - action="store_true", + action=argparse.BooleanOptionalAction, ) + parser.parse_args(["--no-assets-sub-directory"]) + parser.add_argument( "--assets-list", help="List the assets used by the model",