From 66b75171bd43871f6f938c4c726606303be9b245 Mon Sep 17 00:00:00 2001 From: fliem Date: Mon, 19 Jun 2017 09:07:47 +0200 Subject: [PATCH] fixed models in brain_age_files --- baracus/__init__.py | 1 + scripts/run_brain_age_files.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/baracus/__init__.py b/baracus/__init__.py index 63f34e6..bff0a56 100644 --- a/baracus/__init__.py +++ b/baracus/__init__.py @@ -6,6 +6,7 @@ models_list = ["Liem2016__OCI_norm", "Liem2016__full_2samp_training"] __changes__ = """ +* 0.9.4: fixed models in brain_age_files * 0.9.3: fix tagging issue * 0.9.2: fixed typo, -v flag diff --git a/scripts/run_brain_age_files.py b/scripts/run_brain_age_files.py index 6435098..73557d9 100644 --- a/scripts/run_brain_age_files.py +++ b/scripts/run_brain_age_files.py @@ -13,8 +13,8 @@ 'one subject can be specified at a time.') parser.add_argument('out_dir', help='Results are put here.') parser.add_argument('--participant_label', help='will be written into output files and can be omitted') - parser.add_argument('--models', choices=models_list, default="Liem2016__OCI_norm", help='', nargs="+") - + parser.add_argument('--models', choices=models_list, default=["Liem2016__OCI_norm"], help='', + nargs="+") parser.add_argument('--lh_thickness_file', required=True, help='') parser.add_argument('--rh_thickness_file', required=True, help='') parser.add_argument('--lh_area_file', required=True, help='')