GithubHelp home page GithubHelp logo

macaque_auditory_thalamocortical_model_data's People

Contributors

ericaygriffith avatar salvadord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

macaque_auditory_thalamocortical_model_data's Issues

Error when running demo version

I am attempting to run the demo version of the model with the command python init_demo.py, which results in a error. There is also an error that is raised when validating the subConnParams. I tried investigating this error, but did not see any obvious discrepancies. I am running on a linux server using Python 3.9 and the development branch of NetPyNE. Here is the script output:

kedoxey@spike:~/CRCNS/Macaque_auditory_thalamocortical_model_data/model$ python init_demo.py 
Warning: no DISPLAY environment variable.
--No graphics will be displayed.
Warning: could not import interactive plotting functions; make sure the "bokeh" package is installed.
Importing simConfig from cfg_demo.py
Importing netParams from netParams.py

Start time:  2024-02-07 16:59:35.641130
Validating NetParams ...
  Error validating subConnParams:
    Key 'TCM->E' error:
    Key 'preConds' error:
    Key 'cellType' error:
    None
    <lambda>(['TCM']) should evaluate to True

NetParams validation identified some potential issues in: subConnParams. See above for details.

Creating network of 43 cell populations on 1 hosts...
TypeError: float() argument must be a string or a number, not 'hoc.HocObject'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/kedoxey/CRCNS/Macaque_auditory_thalamocortical_model_data/model/init_demo.py", line 30, in <module>
    sim.net.createCells()                               # instantiate network cells based on defined populations
  File "/home/kedoxey/.conda/envs/python3_9-test/lib/python3.9/site-packages/netpyne/network/network.py", line 99, in createCells
    newCells = ipop.createCells()  # create cells for this pop using Pop method
  File "/home/kedoxey/.conda/envs/python3_9-test/lib/python3.9/site-packages/netpyne/network/pop.py", line 87, in createCells
    cells = self.createCellsDensity()
  File "/home/kedoxey/.conda/envs/python3_9-test/lib/python3.9/site-packages/netpyne/network/pop.py", line 293, in createCellsDensity
    randLocs = np.array(vec).reshape(self.tags['numCells'], 3)  # create random x,y,z locations
ValueError: setting an array element with a sequence.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.