bioAI-Oslo / Spikeometric

Spiking Neural Network Simulator based on Generalized Linear Models
GNU General Public License v3.0
7 stars 1 forks source link

Python 3.8 not supported #6

Closed lepmik closed 1 year ago

lepmik commented 1 year ago
~/.pyenv/versions/torch/lib/python3.8/site-packages/spikeometric/models/base_model.py in BaseModel()
    238         data: Data,
    239         firing_rate: float,
--> 240         tunable_parameters: Union[str, list[str]] = "all",
    241         lr: float = 0.1,
    242         n_steps: int = 100,

TypeError: 'type' object is not subscriptable
JakobSonstebo commented 1 year ago

Fixed this in version 1.0.2. Should be compatible with Python 3.8 now.