Skip to content

Commit

Permalink
deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Sep 5, 2023
1 parent b55448e commit e67f142
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 0 deletions.
6 changes: 6 additions & 0 deletions brainpy/channels.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# -*- coding: utf-8 -*-


"""
This module has been deprecated since brainpy>=2.4.0. Use ``brainpy.dyn`` module instead.
"""


from .dyn.channels import *
from .dyn.ions import *
6 changes: 6 additions & 0 deletions brainpy/layers.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@


"""
This module has been deprecated since brainpy>=2.4.0. Use ``brainpy.dnn`` module instead.
"""


from .dnn import *
4 changes: 4 additions & 0 deletions brainpy/neurons.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# -*- coding: utf-8 -*-

"""
This module has been deprecated since brainpy>=2.4.0. Use ``brainpy.dyn`` module instead.
"""

from brainpy._src.dynold.neurons.biological_models import (
HH as HH,
MorrisLecar as MorrisLecar,
Expand Down
5 changes: 5 additions & 0 deletions brainpy/rates.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-


"""
This module has been deprecated since brainpy>=2.4.0. Use ``brainpy.dyn`` module instead.
"""

from .dyn.rates import *


6 changes: 6 additions & 0 deletions brainpy/synapses.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-


"""
This module has been deprecated since brainpy>=2.4.0. Use ``brainpy.dyn`` module instead.
"""


from brainpy._src.dynold.synapses.base import (
_SynSTP as SynSTP,
_SynOut as SynOut,
Expand Down
6 changes: 6 additions & 0 deletions brainpy/synouts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-


"""
This module has been deprecated since brainpy>=2.4.0. Use ``brainpy.dyn`` module instead.
"""


from brainpy._src.dynold.synouts.conductances import (
COBA as COBA,
CUBA as CUBA,
Expand Down
4 changes: 4 additions & 0 deletions brainpy/synplast.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# -*- coding: utf-8 -*-

"""
This module has been deprecated since brainpy>=2.4.0. Use ``brainpy.dyn`` module instead.
"""

from brainpy._src.dynold.synplast.short_term_plasticity import (
STD as STD,
STP as STP,
Expand Down

0 comments on commit e67f142

Please sign in to comment.