diff --git a/nipype/algorithms/confounds.py b/nipype/algorithms/confounds.py index 5e3588f4fc..d2e6168ea7 100644 --- a/nipype/algorithms/confounds.py +++ b/nipype/algorithms/confounds.py @@ -208,7 +208,7 @@ def _run_interface(self, runtime): if self.inputs.save_nstd: out_file = self._gen_fname("dvars_nstd", ext="tsv") - np.savetxt(out_file, dvars[1], fmt=b"%0.6f") + np.savetxt(out_file, dvars[1], fmt="%0.6f") self._results["out_nstd"] = out_file if self.inputs.save_plot: