ComPWA / expertsystem

Rule based particle reaction problem solver on a quantum number level
http://expertsystem.rtfd.io
1 stars 3 forks source link

Make serialization to dict public #385

Closed redeboer closed 3 years ago

redeboer commented 3 years ago

Currently, the expertsystem provides write and load functions that read from a file and it's not possible to feed a dictionary directly. This is the reason why tests fail haphazardly on GitHub Actions: the tests have to write to disk in order to test the io module, which causes crashes when running tests in parallel.

redeboer commented 3 years ago

This issue needs to be tackled to keep the CI/CD stable when running pytest in parallel mode: it's safer not to use fixtures in combination with read-write (here: reading and writing from and to YAML)

See e.g. this log: https://github.com/ComPWA/expertsystem/runs/1460495658?check_suite_focus=true