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
{{ message }}
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.
I have problems running the Python example synthesize_dataset.py from the mountainsort_examples.
I use Anaconda with the Spyder environment setup and run the example file with the command synthesize_dataset('/home/chris/Documents/dataset0000/',M=4,duration=60,average_snr=7,K=20)
While debugging, Python enters the function, and runs line 12ff mlp.addProcess('ephys.synthesize_random_waveforms', ...
Then, in line 27ff, mlp.addProcess('ephys.synthesize_random_firings', ...
the debugger stops with the error message AttributeError: 'NoneType' object has no attribute 'addProcess'
Thus, the problem might be an wrongly installed package. Here is how I did the installation:
Hi,
I have problems running the Python example synthesize_dataset.py from the mountainsort_examples.
I use Anaconda with the Spyder environment setup and run the example file with the command
synthesize_dataset('/home/chris/Documents/dataset0000/',M=4,duration=60,average_snr=7,K=20)
While debugging, Python enters the function, and runs line 12ff
mlp.addProcess('ephys.synthesize_random_waveforms', ...
Then, in line 27ff,
mlp.addProcess('ephys.synthesize_random_firings', ...
the debugger stops with the error message
AttributeError: 'NoneType' object has no attribute 'addProcess'
Thus, the problem might be an wrongly installed package. Here is how I did the installation:
1_ Install MountainLab as indicated in
https://github.com/flatironinstitute/mountainlab-js
using the conda commands in the Ubuntu terminal.
2_ Install MountainSort as indicated in
https://github.com/flatironinstitute/mountainsort_examples/blob/master/README.md
using the conda commands in the Ubuntu terminal as well.
These installations seemed to run smoothly.
2_ Additionally, I installed from
https://github.com/flatironinstitute
/ qt-mountainview
/ mountainsort_examples
and
/ ephys-viz
Every package seemed to be installed fine.
Maybe someone has some ideas. I think, that it is an easy problem, if you are experienced with Ubuntu or Linux in general.
Best,
Chris
The text was updated successfully, but these errors were encountered: