Skip to content

Commit

Permalink
Return the mean M0 TR in ExtractCBF (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Dec 6, 2024
1 parent 0db1a1d commit 9de19de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aslprep/interfaces/cbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def _run_interface(self, runtime):
metadata[field] = value

self._results['metadata'] = metadata
self._results['m0tr'] = m0tr
self._results['m0tr'] = np.mean(m0tr) if m0tr is not None else None
self._results['out_file'] = fname_presuffix(
self.inputs.name_source,
suffix='_DeltaMOrCBF',
Expand Down

0 comments on commit 9de19de

Please sign in to comment.