Skip to content

Deprecated dependencies: Use command line interface to create new network #70

@NuSynth

Description

@NuSynth

This is for the Readme, in Usage Examples: Section 2) Use command line interface to create new network
Specifically, for this command line example code:

c302 MyNetwork parameters_C -cells ["AVBR","VD3"] -cellstostimulate ["AVBR"] -paramoverride {"unphysiological_offset_current":"2.9pA"} -duration 300

There's a lot of things going on here. I had some issue with owmeta that I dont recall what they were.

The wrapt package that was setup on my system, I guess when I installed this, was too new. I had to downgrade to version 1.11.1.

Now I'm getting this:
ImportError: cannot import name inspect.formatargspec. I guess the code, or one of its dependencies, is trying to use the formatargspec function from the inspect module, which has been deprecated and removed in Python 3.11. I'm reading that the inspect.signature function replaced it.

If I try to correct that code on my system, I think I will get sucked into a rabbit hole because I do not know the design of this software.

Reason I want to use this functionality
I was wanting to do a variation on that command in order to generate the LEMS files, and I guess the NeuroML 2 files, for each neuron for a script that:

  1. Iterates over a range of current clamp values.
  2. Runs a simulation for each value.
  3. Records the neuron's response.
  4. Identifies the minimum active response and the maximum sustainable response.
  5. Saves a record of the test results to have the input current value, the output current value, and the ISI if there is one.

These tests would be ran on one neuron each. Not to simulate the interactions between the neurons.

Is there another way I can generate that LEMS file, such as another program, or the possibility of running that command from the openworm docker image?

I don't know how to run the command from the openworm docker image, if doing that is possible. But I can figure it out if the other stuff I am trying does not work. Right now I am setting up older versions of linux in virtual machines trying to find one that is not too old to prevent me from installing this program in it, while not being too new to run that command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions