Skip to content

Commit 068dda0

Browse files
committed
drop nb.load
1 parent 8a294e0 commit 068dda0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nipype/algorithms/stats.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ class ACM(SimpleInterface):
4141
output_spec = ACMOutputSpec
4242

4343
def _run_interface(self, runtime):
44-
allmaps = nb.concat_images(
45-
[nb.load(f) for f in self.inputs.in_files]).get_data()
44+
allmaps = nb.concat_images(self.inputs.in_files).get_data()
4645
acm_pos = np.mean(allmaps > self.inputs.threshold,
4746
axis=3, dtype=np.float32)
4847
acm_neg = np.mean(allmaps < -1.0 * self.inputs.threshold,

0 commit comments

Comments
 (0)