summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-03-21 12:57:53 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-03-21 12:57:53 +0100
commit995753a7913b89ea5f58983cf2cfca1cb8a00b77 (patch)
tree9b7f75d784acca27c1d6ae117bf5f0767f8b6a3b
parent805d4f982b104ce372e61a413935767c27943b0c (diff)
--skip-param-stats and --force-tree are no longer dependent
-rw-r--r--lib/cli.py19
1 files changed, 1 insertions, 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):