Check if Windows before making si_dev_path unix
@@ -297,7 +297,10 @@ run_sorter_local('{sorter_name}', recording, output_folder=output_folder,
install_si_from_source = True
# Making sure to get rid of last / or \
si_dev_path = str(Path(si_dev_path).absolute().resolve())
+ if platform.system() == 'Windows':
si_dev_path_unix = path_to_unix(si_dev_path)
+ else:
+ si_dev_path_unix = si_dev_path
volumes[si_dev_path] = {'bind': si_dev_path_unix, 'mode': 'ro'}
else:
install_si_from_source = False
