jonescompneurolab / hnn-core

Simulation and optimization of neural circuits for MEG/EEG source estimates
https://jonescompneurolab.github.io/hnn-core/
BSD 3-Clause "New" or "Revised" License
50 stars 50 forks source link

HNN core fails with Python 3.12 #796

Closed kmilo9999 closed 1 week ago

kmilo9999 commented 3 weeks ago

Some test are failing with python 3.12

hnn_core/tests/test_drives.py FF. [ 8%] hnn_core/tests/test_extracellular.py F.... [ 12%]

    events_per_cycle = 5
    cycle_events_isi = 20
    with pytest.raises(ValueError,
                       match=r'Burst duration (?s).* cannot be greater than'):
      _create_bursty_input(t0=t0, t0_stdev=t0_stdev,

tstop=tstop, f_input=f_input, events_jitter_std=events_jitter_std, events_per_cycle=events_per_cycle, cycle_events_isi=cycle_events_isi, prng=prng, prng2=prng2)

hnn_core/tests/test_drives.py:80:

https://github.com/jonescompneurolab/hnn-core/actions/runs/9489579191/job/26151176286

jasmainak commented 3 weeks ago

Fix welcome !