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

Implement NetPyNE bits to run Hay model #8

Open
sanjayankur31 opened this issue Nov 8, 2023 · 1 comment
Open

Implement NetPyNE bits to run Hay model #8

sanjayankur31 opened this issue Nov 8, 2023 · 1 comment
Assignees

Comments

@sanjayankur31
Copy link
Contributor

@sanjayankur31
Copy link
Contributor Author

Currently running into trouble with fraction along:

pyNeuroML >>> DEBUG - Processing segment: <Segment|4067|Seg0_axon_0>
pyNeuroML >>> CRITICAL - Segment (<Segment|4067|Seg0_axon_0>) must be attached to parent (<parent segment="9" fractionAlong="0.9999544"/>
) at proximal or distal point
Traceback (most recent call last):
  File "/home/asinha/Documents/02_Code/00_mine/models/L5bPyrCellHayEtAl2011/neuroConstruct/generatedNeuroML2/LEMS_TestL5PC_netpyne.py", line 269, in <module>
    ns.run()
  File "/home/asinha/Documents/02_Code/00_mine/models/L5bPyrCellHayEtAl2011/neuroConstruct/generatedNeuroML2/LEMS_TestL5PC_netpyne.py", line 155, in run
    self.gids = sim.importNeuroML2SimulateAnalyze(self.nml2_file_name,self.simConfig)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/asinha/Documents/02_Code/00_mine/NeuroML/software/netpyne/netpyne/sim/wrappers.py", line 635, in importNeuroML2SimulateAnalyze
    return sim.importNeuroML2(fileName, simConfig, simulate=True, analyze=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/asinha/Documents/02_Code/00_mine/NeuroML/software/netpyne/netpyne/conversion/neuromlFormat.py", line 1751, in importNeuroML2
    currParser.parse(fileName)
  File "/home/asinha/.local/share/virtualenvs/neuroml-311-dev/lib/python3.11/site-packages/neuroml/hdf5/NeuroMLXMLParser.py", line 124, in parse
    self.netHandler.handle_population(
  File "/home/asinha/Documents/02_Code/00_mine/NeuroML/software/netpyne/netpyne/conversion/neuromlFormat.py", line 1208, in handle_population
    assert fract == 1.0 or fract == 0.0
                           ^^^^^^^^^^^^
AssertionError

Question: why is it compulsory that the segment only be attached to the parent segment at either 0, or 1 (prox or distal) points?

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

No branches or pull requests

1 participant