jonescompneurolab / hnn-core

Simulation and optimization of neural circuits for MEG/EEG source estimates
https://jonescompneurolab.github.io/hnn-core/
BSD 3-Clause "New" or "Revised" License
50 stars 50 forks source link

Example Error like File not found error #786

Closed hanbuck30 closed 1 month ago

hanbuck30 commented 1 month ago

image

image I ran sample for the first time, and I get a file not found error. Even if I go into the mod folder, I don't have a .so or .dll file, where can I get it?

jasmainak commented 1 month ago

can you please provide more information how you did the installation and what kind of computer you have?

hanbuck30 commented 1 month ago

I used the "git clone https://github.com/jonescompneurolab/hnn-core.git " command. And I'm using window 11, and I ran it on Vs code. Python version is 3.8 version and neurons are 8.2. image

When I check the error, I check the error that requires .so or .dll in the mod folder, but when I check the git clone, I can't check the file in that format in mod

jasmainak commented 1 month ago

the mod files are built during installation using nrniv which is distributed using Neuron. You have to install neuron before installing HNN ... otherwise the mod files won't be built.

hanbuck30 commented 1 month ago

image I installed neuron before install HNN_core. but it still cause an same error

rythorpe commented 1 month ago

I'm assuming you followed the instructions for an editable install?

hanbuck30 commented 1 month ago

Oh, It works. I think I forgot. Thank you for your help. One more question. I want to extract a code that encodes EEG data into a spike, which file should I refer to?

rythorpe commented 1 month ago

I'd recommend checking out our examples page here. There are a few examples where we simulate a current dipole (underlying an EEG sensor signal) and then examine the spiking activity that emerged within the network.

rythorpe commented 1 month ago

I'm going to close this issue, but feel free to post on the repository's Discussions forum with any more questions that arise.