MEArec icon indicating copy to clipboard operation
MEArec copied to clipboard

Empty Templates Folder

Open lddavila opened this issue 1 year ago • 1 comments

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)
  1. 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.
  2. I checked the folder, and my templates folder doesn't have the physrot folder, but I'm not sure where the error comes from.
  3. Would appreciate if you can supply any help.

lddavila avatar Aug 09 '24 19:08 lddavila

Hi,

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

Cheers Alessio

alejoe91 avatar Aug 10 '24 06:08 alejoe91