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 b4cf896 commit 89a66f8Copy full SHA for 89a66f8
nipype/interfaces/fsl/model.py
@@ -1573,9 +1573,8 @@ def _run_interface(self, runtime):
1573
convals = np.zeros((ntcons, 1))
1574
for tcon in con[2]:
1575
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"
+ fcon_txt.append(" ".join(["%d" % val for val in convals]))
+ fcon_txt = "\n".join(fcon_txt) + "\n"
1579
# write group file
1580
grp_txt = ["/NumWaves 1", "/NumPoints %d" % npoints, "", "/Matrix"]
1581
for i in range(npoints):
0 commit comments