Giter Site home page Giter Site logo

Comments (7)

JustasB avatar JustasB commented on August 22, 2024

Couple of questions @pgleeson:

  1. What's the general goal here? You need an NML file that contains the standard groups, so it works with the rest of neuroml libraries? And is the current problem here because the mitral.hoc file does not have the groups, but the existing segments can be heuristically assigned to one of the standard groups?

  2. There are 4 groups in the generated NML, but only 3 standard ones (soma_group, dendrite_group, axon_group). What do you want to do with the extra group?

These are the groups present in the NML:
ModelViewParmSubset_1
ModelViewParmSubset_2
ModelViewParmSubset_3
ModelViewParmSubset_4

  1. Do you suggest (1) changing the group names AFTER the NML is generated with export_to_neuroml2 function, OR (2) the export_to_neuroml2 function should be modified so it generates the NML with the standard group names?

from miglioreetal14_olfactorybulb3d.

JustasB avatar JustasB commented on August 22, 2024

I didn't hear back in time. I'm handling the ModelViewP... groups by removing them and then replacing them with the standard all, axon, soma, and dendrite groups. See the bottom of the cell files in the above pull request.

from miglioreetal14_olfactorybulb3d.

pgleeson avatar pgleeson commented on August 22, 2024

Since the info on conductances, capacitance etc. will all be added afterwards, then yes, all of the Neuron generated groups can be removed, and the only ones needed are the "standard" ones used in NML1/2. Changing the nml file after generation in export_mitral.py was the right way to go.

Looks like this has been done correctly in the PR, though you seem to have used an older version of pyNeuroML. I'll merge and update, but you should update this (and libNeuroML) locally.

from miglioreetal14_olfactorybulb3d.

JustasB avatar JustasB commented on August 22, 2024

seem to have used an older version of pyNeuroML<<

Ah, maybe this explains the weird path issues I was seeing. Will update.

from miglioreetal14_olfactorybulb3d.

pgleeson avatar pgleeson commented on August 22, 2024

This is an example of how the standard group names are useful:

selection_009

from miglioreetal14_olfactorybulb3d.

JustasB avatar JustasB commented on August 22, 2024

Oh I see, very nice

from miglioreetal14_olfactorybulb3d.

JustasB avatar JustasB commented on August 22, 2024

Old local version of pyNeuroML was it. I've removed the workaround in this pr: #9

from miglioreetal14_olfactorybulb3d.

Related Issues (20)

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.