Skip to content

improve hold spynnaker/pyNN/__init__.py offers classes #1648

@Christian-B

Description

@Christian-B

most of our scripts are in the format

import pyNN.spiNNaker as sim
sim.setup(timestep=1.0, n_boards_required=1)
pop_1 = sim.Population(1, sim.IF_curr_exp(), label="pop_1")

But pycharm if you attempt to go to sim.IF_curr_exp() it only goes to init.py
And from there it is hard to find the code

bigger worry is that mypy also has trouble following the connection.

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