diff --git a/CHANGES.rst b/CHANGES.rst index 5084b0193..02fe8a733 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,7 @@ -Next release -============ +0.5.1 (24th of June 2017) +========================= +* [FIX] Invalid parameter in ``bbreg_wf`` (#572) 0.5.0 (21st of June 2017) ========================= diff --git a/fmriprep/workflows/util.py b/fmriprep/workflows/util.py index 6fecb8e7c..f620bf9b2 100644 --- a/fmriprep/workflows/util.py +++ b/fmriprep/workflows/util.py @@ -134,7 +134,7 @@ def apply_fs_transform(fs_2_t1_transform, bbreg_transform): def get_final_cost(in_file): import numpy as np - return np.loadtxt(in_file, use_cols=[0]) + return np.loadtxt(in_file, usecols=[0]) get_cost = pe.Node(niu.Function(function=get_final_cost), name='get_cost', run_without_submitting=True)