diff --git a/tests/compare_reco_pixel_pkl.py b/tests/compare_reco_pixel_pkl.py index 51991f75c..e5a4a55b1 100644 --- a/tests/compare_reco_pixel_pkl.py +++ b/tests/compare_reco_pixel_pkl.py @@ -50,12 +50,6 @@ def main(): action="store_true", help="'assert' the results", ) - parser.add_argument( # TODO: remove? - "--disqualify-zero-energy-pixels", - default=False, - action="store_true", - help='whether a zero-energy pixel value "disqualifies" the entire pixel\'s numerical results', - ) args = parser.parse_args() logging_tools.log_argparse_args(args, logger=logger, level="WARNING") @@ -81,7 +75,6 @@ def load_from_out_pkl(out_pkl_fpath: Path) -> SkyScanResult: args.do_assert, args.diff_out_dir, logger, - args.disqualify_zero_energy_pixels, # TODO: remove? ) diff --git a/tests/compare_scan_results.py b/tests/compare_scan_results.py index a0497461a..ad265146d 100644 --- a/tests/compare_scan_results.py +++ b/tests/compare_scan_results.py @@ -55,12 +55,6 @@ def main(): action="store_true", help="'assert' the results", ) - parser.add_argument( # TODO: remove? - "--disqualify-zero-energy-pixels", - default=False, - action="store_true", - help='whether a zero-energy pixel value "disqualifies" the entire pixel\'s numerical results', - ) args = parser.parse_args() logging_tools.log_argparse_args(args, logger=logger, level="WARNING") @@ -78,7 +72,6 @@ def main(): args.do_assert, args.diff_out_dir, logger, - args.disqualify_zero_energy_pixels, # TODO: remove? ) @@ -90,7 +83,6 @@ def compare_then_exit( do_assert: bool, diff_out_dir: str, logger: logging.Logger, - do_disqualify_zero_energy_pixels: bool, # TODO: remove? ) -> None: """Compare the results, dump a json diff file, and sys.exit.""" dump_json_diff = ( @@ -101,7 +93,6 @@ def compare_then_exit( close = actual.is_close( expected, dump_json_diff=dump_json_diff, - do_disqualify_zero_energy_pixels=do_disqualify_zero_energy_pixels, # TODO: remove? ) equal = actual == expected