MaimonLab / SiffPy

Code for fast analysis of ScanImage .tiffs and .siffs
GNU General Public License v3.0
4 stars 1 forks source link

Suite2p dataclass causes errors #4

Closed mkharaguchi closed 4 months ago

mkharaguchi commented 5 months ago

Please make it not cause errors

StephenThornquist commented 4 months ago

This is, unfortunately, a bug in suite2p! They have not made it compatible with Python >= 3.10 due to a change in the dataclasses builtin. I've changed when and how suite2p is imported so that you only encounter this error when you actually want to use it for registration, but I might just fork and steal some of the suite2p code if they don't resolve the issue soon...