diff --git a/scallops/cli/norm_features.py b/scallops/cli/norm_features.py index 97f526a..fead555 100644 --- a/scallops/cli/norm_features.py +++ b/scallops/cli/norm_features.py @@ -60,7 +60,7 @@ def run_pipeline_norm_features(arguments: argparse.Namespace): else: mad_scale_factor = float(mad_scale_factor) - robust = not arguments.no_robust + robust = not arguments.robust dask_server_url = arguments.client dask_cluster_parameters = ( load_json(arguments.dask_cluster) if arguments.dask_cluster is not None else {} diff --git a/scallops/cli/norm_features_main.py b/scallops/cli/norm_features_main.py index 7735083..948833a 100644 --- a/scallops/cli/norm_features_main.py +++ b/scallops/cli/norm_features_main.py @@ -58,8 +58,8 @@ def _create_parser(subparsers: argparse.ArgumentParser, default_help: bool) -> N ) parser.add_argument( - "--no-robust", - help="Do not use robust statistics for normalization.", + "--robust", + help="Use robust statistics for normalization.", action="store_true", ) parser.add_argument(