aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/partial_correlations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/partial_correlations.py b/scripts/partial_correlations.py
index de364dc..d28a17a 100644
--- a/scripts/partial_correlations.py
+++ b/scripts/partial_correlations.py
@@ -106,7 +106,8 @@ def process_cli_arguments():
parser.add_argument(
"method",
help="The correlation method to use",
- type=str)
+ type=str,
+ choices=("Pearson's r", "Spearman's rho"))
against_db_parser(against_traits_parser(
parser.add_subparsers(
title="subcommands",