summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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):