SandoghdarLab / PiSCAT

PiSCAT is a python-based package with a graphical user interface for performing high-performance analysis on a variety of iSCAT measurements.
https://piscat.readthedocs.io/
GNU General Public License v3.0
20 stars 12 forks source link

Stop using pickle for serializing test data #37

Open marcoheisig opened 1 year ago

marcoheisig commented 1 year ago

The test suite creates fixtures using pickle.load. This creates hard-coded dependencies to the libraries that were being used when those pickle files were created. The result is that the test suite randomly fails when we use newer libraries, like this:

https://github.com/SandoghdarLab/PiSCAT/actions/runs/4606677611/jobs/8140277049?pr=36#step:6:64

This should be fixed, so that PiSCAT can be used on more than just a narrow set of libraries.