Skip to content

Commit

Permalink
couple more instances
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Jun 3, 2024
1 parent 1924774 commit 8a7abe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spikeinterface/sorters/runsorter.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ def run_sorter_container(
json.dumps(check_json(sorter_params), indent=4), encoding="utf8"
)

in_container_sorting_folder = output_folder / "in_container_sorting"
in_container_sorting_folder = folder / "in_container_sorting"

# if in Windows, skip C:
parent_folder_unix = path_to_unix(parent_folder)
output_folder_unix = path_to_unix(output_folder)
output_folder_unix = path_to_unix(folder)
recording_input_folders_unix = [path_to_unix(rf) for rf in recording_input_folders]
in_container_sorting_folder_unix = path_to_unix(in_container_sorting_folder)

Expand Down Expand Up @@ -586,7 +586,7 @@ def run_sorter_container(
# this do not work with singularity:
# cmd = f'chown {uid}:{uid} -R "{output_folder}"'
# this approach is better
cmd = ["chown", f"{uid}:{uid}", "-R", f"{output_folder}"]
cmd = ["chown", f"{uid}:{uid}", "-R", f"{folder}"]
res_output = container_client.run_command(cmd)
else:
# not needed for Windows
Expand Down

0 comments on commit 8a7abe2

Please sign in to comment.