-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index Error #1
Comments
This happens if you run PKS from the command line without an input argument. Presumably you are running it like so:
However, you should be appending the path to the dataset that you want to look at, like so:
If that is not the case. Would you mind sharing the command that you are using to run the script? |
Thank you for your response! This is the command I am using: % python -i pks.py /Users/areebaqureshi/Desktop/MscVisualization/P19-ChR2-Kilosort-Output Actually now when I run this I get this error: File "/Users/areebaqureshi/Desktop/MscVisualization/KS3_2/pks_processing.py", line 1158, in _find_files_with_extension Is having the 'temp_wh.dat' file necessary to run this the pks.py file? |
It depends on which version of Kilosort you used. If you used the Matlab version (Kilosort 3.0) a temp.wh file is necessary. Possibly try navigating (in your terminal) to the "P19-ChR2-Kilosort-Output" folder and run the file pks.py from there using "." as the input folder. I also want to point you towards Phy2 (https://github.com/cortex-lab/phy) which is GUI based, so no Python experience necessary. |
Hi, I am very new to coding in Python and this might be a naive problem but I keep getting this error when I try to run pks on my folder:
Any advice is appreciated. Thank you!
The text was updated successfully, but these errors were encountered: