You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am seeking assistance to understand how to edit create_input_json.py. I have edited lines 17-23 of the code below, this is a recreation of how I filled in these values:
Am I right to change these values in this way? Is the format correct? Are there more values to be changed within create_input_json.py?
After running python C:\Users\user\Downloads\ecephys_spike_sorting-master\ecephys_spike_sorting-master\ecephys_spike_sorting\scripts\batch_processing.py I got the following error:
Traceback (most recent call last):
File "C:\Users\user\Downloads\ecephys_spike_sorting-master\ecephys_spike_sorting-master\ecephys_spike_sorting\scripts\batch_processing.py", line 23, in <module>
info = createInputJson(input_json, kilosort_output_directory=directory)
File "C:\Users\user\Downloads\ecephys_spike_sorting-master\ecephys_spike_sorting-master\ecephys_spike_sorting\scripts\create_input_json.py", line 202, in createInputJson
with io.open(output_file, 'w', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\svc_neuropix\\Documents\\json_files\\outputs-input.json'
I assume given from the above error that I also have to edit 'C:\\Users\\svc_neuropix\\Documents\\json_files\\outputs-input.json' in create_input_json.py, but I will try this tomorrow. Is this the only other thing that needs to be changed to run batch_processing.py?
I apologize for the trivial nature of these questions and I appreciate any assistance in getting ecephys up and running!
The text was updated successfully, but these errors were encountered:
It's failing because the script cannot find the specified file – you'll need to change any file paths in create_input_json.pyandbatch_processing.py to point to locations that exist on your system.
Hello! I am seeking assistance to understand how to edit create_input_json.py. I have edited lines 17-23 of the code below, this is a recreation of how I filled in these values:
Am I right to change these values in this way? Is the format correct? Are there more values to be changed within create_input_json.py?
After running
python C:\Users\user\Downloads\ecephys_spike_sorting-master\ecephys_spike_sorting-master\ecephys_spike_sorting\scripts\batch_processing.py
I got the following error:I assume given from the above error that I also have to edit
'C:\\Users\\svc_neuropix\\Documents\\json_files\\outputs-input.json'
in create_input_json.py, but I will try this tomorrow. Is this the only other thing that needs to be changed to run batch_processing.py?I apologize for the trivial nature of these questions and I appreciate any assistance in getting ecephys up and running!
The text was updated successfully, but these errors were encountered: