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 0d18f98 commit abe83ddCopy full SHA for abe83dd
nipype/interfaces/io.py
@@ -2883,7 +2883,7 @@ class ExportFile(BaseInterface):
2883
2884
def _run_interface(self, runtime):
2885
if not self.inputs.clobber and op.exists(self.inputs.out_file):
2886
- raise FileExistsError(errno.EEXIST, f'File {self.inputs.out_file} exists')
+ raise FileExistsError(errno.EEXIST, 'File %s exists' % self.inputs.out_file)
2887
if (self.inputs.check_extension and
2888
op.splitext(self.inputs.in_file)[1] != op.splitext(self.inputs.out_file)[1]):
2889
raise RuntimeError(f'{self.inputs.in_file} and {self.inputs.out_file} have different extensions')
0 commit comments