SpikeInterface / MEArec

Fast and customizable of extracellular recordings on MEA
GNU General Public License v3.0
42 stars 19 forks source link

Empty Templates Folder #171

Open lddavila opened 1 month ago

lddavila commented 1 month ago

Hello, I have tried to install and use the the MEArec library to create some simulated data, but I have an issue I cannot resolve. I'll explain what I did in depth. I am working on a windows 11 machine and using the anaconda environments.

  1. Created an anaconda environment
  2. activated the environment
  3. Ran "pip install MEArec"
  4. Ran "pip install MEArec[templates]"
  5. Installed Neuron version 7.8 from the following link: https://www.neuron.yale.edu/ftp/neuron/versions/v7.8/
  6. Ran "pip install LFP>=2.2"
  7. Successfully tested the installation
  8. Successfully checked that the CLI is working by running "mearec" in the Anaconda command line.
  9. I tried to creating a tempgen object using the following code:
    import MEArec as mr
    tempgen = mr.gen_templates(mr.get_default_cell_models_folder(), params=None, templates_tmp_folder=None, intraonly=False, parallel=True,
                           recompile=False, n_jobs=None, delete_tmp=True, verbose=False)
  10. But when I run it i get the following error: FileNotFoundError: C:\Users\ldd77\.config\mearec\1.9.1\templates\physrot\tmp_50_Neuropixels-384 not found. Something went wrong in the template generation phase.
  11. I checked the folder, and my templates folder doesn't have the physrot folder, but I'm not sure where the error comes from.
  12. Would appreciate if you can supply any help.
alejoe91 commented 1 month ago

Hi,

Can you try to run with recompile=True and verbose=True?

Cheers Alessio