Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Templates Folder #171

Open
lddavila opened this issue Aug 9, 2024 · 1 comment
Open

Empty Templates Folder #171

lddavila opened this issue Aug 9, 2024 · 1 comment

Comments

@lddavila
Copy link

lddavila commented Aug 9, 2024

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.
@alejoe91
Copy link
Member

Hi,

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

Cheers
Alessio

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

No branches or pull requests

2 participants