Skip to content

Commit eabf65a

Browse files
author
Shoshana Berleant
committed
make python 2 happy
1 parent fcfa192 commit eabf65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/algorithms/confounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def _run_interface(self, runtime):
345345
u, _, _ = linalg.svd(M, full_matrices=False)
346346
components = u[:, :self.inputs.num_components]
347347
components_file = os.path.join(os.getcwd(), self.inputs.components_file)
348-
np.savetxt(components_file, components, fmt="%.10f")
348+
np.savetxt(components_file, components, fmt=b"%.10f")
349349
return runtime
350350

351351
def _list_outputs(self):

0 commit comments

Comments
 (0)