espenhgn / ViSAPy

Python package for generating benchmark data for evaluating spike sorting methods
GNU General Public License v2.0
20 stars 8 forks source link

Changed modules #2

Open IljaPilja opened 6 years ago

IljaPilja commented 6 years ago

Hi, I'm trying to run the "example_in_vivo_polytrode.py" but some of the modules that are required I can't find namely urllib2 or zipfile, for example. Here I can only find urllib2_file and zipfile2, instead. However, due to the changes in these modules the script does not run. Is there an updated version to this python file? Would love to use this to create some data. Dymphie

espenhgn commented 6 years ago

Hi there, Sounds like you are on Python 3. Try replacing urllib2 with urllib in the scripts, but zipfile is part of both the python 2 and 3 standard distribution I think. If you are still having problems, please provide some more info on your setup (OS, python version) and which versions (branches) of LFPy, NEST etc. you are using. It's been very long since I worked on these codes.