Skip to content

Commit d088cc2

Browse files
committed
FIX: Make Eddy._use_cuda update instance variable
Follow-up to #1711
1 parent cf2b1f8 commit d088cc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,9 @@ def _num_threads_update(self):
525525

526526
def _use_cuda(self):
527527
if self.inputs.use_cuda:
528-
_cmd = 'eddy_cuda'
528+
self._cmd = 'eddy_cuda'
529529
else:
530-
_cmd = 'eddy_openmp'
530+
self._cmd = 'eddy_openmp'
531531

532532
def _format_arg(self, name, spec, value):
533533
if name == 'in_topup_fieldcoef':

0 commit comments

Comments
 (0)