We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a294e0 commit 068dda0Copy full SHA for 068dda0
nipype/algorithms/stats.py
@@ -41,8 +41,7 @@ class ACM(SimpleInterface):
41
output_spec = ACMOutputSpec
42
43
def _run_interface(self, runtime):
44
- allmaps = nb.concat_images(
45
- [nb.load(f) for f in self.inputs.in_files]).get_data()
+ allmaps = nb.concat_images(self.inputs.in_files).get_data()
46
acm_pos = np.mean(allmaps > self.inputs.threshold,
47
axis=3, dtype=np.float32)
48
acm_neg = np.mean(allmaps < -1.0 * self.inputs.threshold,
0 commit comments