Skip to content

Commit

Permalink
Merge pull request #2493 from alejoe91/fix-singularity
Browse files Browse the repository at this point in the history
Fix singularity issue in deleting py_user_folder
  • Loading branch information
samuelgarcia authored Feb 23, 2024
2 parents 809541a + ebcf11f commit e270d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/sorters/runsorter.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def run_sorter_container(
os.remove(parent_folder / "in_container_params.json")
os.remove(parent_folder / "in_container_sorter_script.py")
if mode == "singularity":
shutil.rmtree(py_user_base_folder)
shutil.rmtree(py_user_base_folder, ignore_errors=True)

# check error
output_folder = Path(output_folder)
Expand Down

0 comments on commit e270d5f

Please sign in to comment.