Skip to content

Commit 406422c

Browse files
fix: ignore errors when trying to delete tmpdir upon shutdown (#39)
1 parent 4dbe268 commit 406422c

File tree

1 file changed

+1
-1
lines changed
  • snakemake_interface_executor_plugins/executors

1 file changed

+1
-1
lines changed

snakemake_interface_executor_plugins/executors/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def shutdown(self):
201201
# immediate_submit. With immediate_submit, jobs can be scheduled
202202
# after this method is completed. Hence we have to keep the
203203
# directory.
204-
shutil.rmtree(self.tmpdir)
204+
shutil.rmtree(self.tmpdir, ignore_errors=True)
205205

206206
@property
207207
def tmpdir(self):

0 commit comments

Comments
 (0)