From c5442274ee125bf32f1c26cbd9e338d518e25bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Mon, 22 Apr 2024 10:39:17 +0200 Subject: [PATCH] Correlation bug --- narps_open/utils/correlation/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/narps_open/utils/correlation/__main__.py b/narps_open/utils/correlation/__main__.py index d086499b..0ccf80c2 100644 --- a/narps_open/utils/correlation/__main__.py +++ b/narps_open/utils/correlation/__main__.py @@ -19,7 +19,7 @@ def main(): parser = ArgumentParser(description = 'Compare reproduced files to original results.') parser.add_argument('-t', '--team', type = str, required = True, help = 'the team ID', choices = get_implemented_pipelines()) - subjects.add_argument('-n', '--nsubjects', type=str, required = True, + parser.add_argument('-n', '--nsubjects', type = int, required = True, help='the number of subjects to be selected') arguments = parser.parse_args()