Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Error in running python example (synthesize_dataset.py) #21

Open
christopherhitz opened this issue Feb 26, 2019 · 0 comments
Open

Error in running python example (synthesize_dataset.py) #21

christopherhitz opened this issue Feb 26, 2019 · 0 comments

Comments

@christopherhitz
Copy link

christopherhitz commented Feb 26, 2019

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'

screenshot from 2019-02-26 16-06-26

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant