Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/Linux_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest brainpy/
20 changes: 15 additions & 5 deletions brainpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@


# toolboxes
from . import connect, initialize, optimizers, measure, losses, datasets, inputs
from . import (connect, # synaptic connection
initialize, # weight initialization
optimizers, # gradient descent optimizers
losses, # loss functions
measure, # methods for data analysis
datasets, # methods for generating data
inputs) # methods for generating input currents


# numerical integrators
Expand All @@ -45,6 +51,14 @@

# dynamics simulation
from . import dyn
from .dyn import (channels, # channel models
layers, # ANN layers
networks, # network models
neurons, # neuron groups
rates, # rate models
synapses, # synaptic dynamics
synouts, # synaptic output
synplast) # synaptic plasticity


# dynamics training
Expand All @@ -63,10 +77,6 @@
from .visualization import visualize


# compatible interface
from .compat import * # compat


# convenient access
conn = connect
init = initialize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

from .offline import *
from .online import *
from . import utils
Loading