Skip to content

Commit d066344

Browse files
authored
Remove '#' from the headers
1 parent 17e31ab commit d066344

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/algorithms/confounds.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def _run_interface(self, runtime):
182182
if self.inputs.save_all:
183183
out_file = self._gen_fname('dvars', ext='tsv')
184184
np.savetxt(out_file, np.vstack(dvars).T, fmt=b'%0.8f', delimiter=b'\t',
185-
header='std DVARS\tnon-std DVARS\tvx-wise std DVARS')
185+
header='std DVARS\tnon-std DVARS\tvx-wise std DVARS', comments='')
186186
self._results['out_all'] = out_file
187187

188188
return runtime
@@ -255,7 +255,7 @@ def _run_interface(self, runtime):
255255
'out_file': op.abspath(self.inputs.out_file),
256256
'fd_average': float(fd_res.mean())
257257
}
258-
np.savetxt(self.inputs.out_file, fd_res, header='FramewiseDisplacement')
258+
np.savetxt(self.inputs.out_file, fd_res, header='FramewiseDisplacement', comments='')
259259

260260
if self.inputs.save_plot:
261261
tr = None
@@ -364,7 +364,7 @@ def _run_interface(self, runtime):
364364

365365
self._set_header()
366366
np.savetxt(components_file, components, fmt=b"%.10f", delimiter='\t',
367-
header=self._make_headers(components.shape[1]))
367+
header=self._make_headers(components.shape[1]), comments='')
368368
return runtime
369369

370370
def _list_outputs(self):

0 commit comments

Comments
 (0)