From 995753a7913b89ea5f58983cf2cfca1cb8a00b77 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 21 Mar 2024 12:57:53 +0100 Subject: --skip-param-stats and --force-tree are no longer dependent --- lib/cli.py | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/lib/cli.py b/lib/cli.py index 8d10347..310314b 100644 --- a/lib/cli.py +++ b/lib/cli.py @@ -11,24 +11,7 @@ logger = logging.getLogger(__name__) def sanity_check(args): - if args.force_tree and bool(int(os.getenv("DFATOOL_FIT_FOL", "0"))): - print( - "--force-tree and DFATOOL_FIT_FOL=1 are mutually exclusive", file=sys.stderr - ) - sys.exit(1) - if args.skip_param_stats and not args.force_tree: - if bool(int(os.getenv("DFATOOL_FIT_FOL", "0"))): - print( - "Note: DFATOOL_FIT_FOL=1 relies on param stats to skip useless features.", - file=sys.stderr, - ) - print( - "Disabling it via --skip-param-stats will likely lead to unsatisfactory results.", - file=sys.stderr, - ) - else: - print("--skip-param-stats requires --force-tree", file=sys.stderr) - sys.exit(1) + pass def print_static(model, static_model, name, attribute, with_dependence=False): -- cgit v1.2.3