Skip to content

Commit 89a66f8

Browse files
authored
Update model.py
1 parent b4cf896 commit 89a66f8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nipype/interfaces/fsl/model.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,9 +1573,8 @@ def _run_interface(self, runtime):
15731573
convals = np.zeros((ntcons, 1))
15741574
for tcon in con[2]:
15751575
convals[tconmap[self.inputs.contrasts.index(tcon)]] = 1
1576-
fcon_txt.append(" ".join(["%d" % val for val in convals]))
1577-
fcon_txt = "\n".join(fcon_txt)
1578-
fcon_txt += "\n"
1576+
fcon_txt.append(" ".join(["%d" % val for val in convals]))
1577+
fcon_txt = "\n".join(fcon_txt) + "\n"
15791578
# write group file
15801579
grp_txt = ["/NumWaves 1", "/NumPoints %d" % npoints, "", "/Matrix"]
15811580
for i in range(npoints):

0 commit comments

Comments
 (0)