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 96217dd commit 56edd38Copy full SHA for 56edd38
ibllib/pipes/tasks.py
@@ -223,7 +223,8 @@ def tearDown(self):
223
Does not run if a lock is encountered by the task (status -2)
224
"""
225
if self.gpu >= 1:
226
- self._lock_file_path().unlink()
+ if self._lock_file_path().exists():
227
+ self._lock_file_path().unlink()
228
229
def cleanUp(self):
230
0 commit comments