diff --git a/src/lobsterpy/cli.py b/src/lobsterpy/cli.py index 416271a6..93d1f77e 100644 --- a/src/lobsterpy/cli.py +++ b/src/lobsterpy/cli.py @@ -413,7 +413,7 @@ def get_parser() -> argparse.ArgumentParser: auto_group.add_argument( "--noisecutoff", type=float, - default=None, + default=0.1, help="Sets the lower limit of icohps or icoops or icobis considered in automatic analysis", ) auto_group.add_argument( diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index 67789a5d..995dda4c 100644 --- a/tests/cli/test_cli.py +++ b/tests/cli/test_cli.py @@ -191,13 +191,7 @@ def test_cli_interactive_plotter_cobi(self): def test_cli_interactive_plotter_coops(self, tmp_path): os.chdir(TestDir / "test_data/CdF_comp_range") # tests skip showing plots generated using automatic interactive plotter - args = [ - "auto-plot-ia", - "--orbitalresolved", - "--hideplot", - "--coops", - "--allbonds", - ] + args = ["auto-plot-ia", "--orbitalresolved", "--hideplot", "--coops", "--allbonds", "--noisecutoff", "0.001"] test = get_parser().parse_args(args) run(test)