Skip to content

Commit 4640478

Browse files
jokedurnezeffigies
authored andcommitted
debug orthogonalisation
1 parent ab3ea2d commit 4640478

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nipype/interfaces/fsl/model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ def _create_ev_files(self, cwd, runinfo, runidx, ev_parameters,
222222
orthogonal = int(orthogonalization[i][j])
223223
except (KeyError, TypeError, ValueError, IndexError):
224224
orthogonal = 0
225+
if orthogonal = 1 and not ev_ortho.substitute(c0=i,c1=0,orthogonal=1) in ev_txt:
226+
ev_txt += ev_ortho.substitute(c0=i,c1=0,orthogonal=1)
227+
ev_txt += "\n"
225228
ev_txt += ev_ortho.substitute(
226229
c0=i, c1=j, orthogonal=orthogonal)
227230
ev_txt += "\n"

0 commit comments

Comments
 (0)