diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-21 12:57:53 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-21 12:57:53 +0100 |
commit | 995753a7913b89ea5f58983cf2cfca1cb8a00b77 (patch) | |
tree | 9b7f75d784acca27c1d6ae117bf5f0767f8b6a3b | |
parent | 805d4f982b104ce372e61a413935767c27943b0c (diff) |
--skip-param-stats and --force-tree are no longer dependent
-rw-r--r-- | lib/cli.py | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -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): |