Skip to content

Commit 01b3681

Browse files
authored
Merge pull request #572 from effigies/hotfix [docs only]
FIX: Invalid parameter in bbreg_wf
2 parents 085e3b8 + 9ea71eb commit 01b3681

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGES.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
Next release
2-
============
1+
0.5.1 (24th of June 2017)
2+
=========================
33

4+
* [FIX] Invalid parameter in ``bbreg_wf`` (#572)
45

56
0.5.0 (21st of June 2017)
67
=========================

fmriprep/workflows/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def apply_fs_transform(fs_2_t1_transform, bbreg_transform):
134134

135135
def get_final_cost(in_file):
136136
import numpy as np
137-
return np.loadtxt(in_file, use_cols=[0])
137+
return np.loadtxt(in_file, usecols=[0])
138138

139139
get_cost = pe.Node(niu.Function(function=get_final_cost),
140140
name='get_cost', run_without_submitting=True)

0 commit comments

Comments
 (0)