check file exists
@@ -270,6 +270,7 @@ class ContainerClient:
finally:
# Clean up
f.close()
+ if os.path.exists(tmp_file):
os.remove(tmp_file)
if not singularity_image:
print(f"Singularity: pulling image {container_image}")
