We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e39875 + cae97fd commit b2c3f53Copy full SHA for b2c3f53
1 file changed
src/ravenpy/ravenpy.py
@@ -305,9 +305,8 @@ def run(
305
for f in results:
306
Path(f).unlink()
307
else:
308
- raise FileExistsError(
309
- f"Output files already exist in {outputdir}. Use `overwrite=True` to overwrite."
310
- )
+ msg = f"Output files already exist in {outputdir}. Use `overwrite=True` to overwrite."
+ raise FileExistsError(msg)
311
312
if not outputdir.exists():
313
Path(str(outputdir)).mkdir(parents=True)
0 commit comments