Closed MalteOlle closed 1 year ago
All the tests are unrelated to pomegrante. Strange... these tests are pretty simple. Nothing that should depend on the operating system
@MalteOlle Which Python version are you on?
Seems to be reproducible: https://github.com/mad-lab-fau/gaitmap/actions/runs/5177786883/jobs/9328332843
Aah but luckily an easy fix. It has something todo that the default dtype for ints under windows is different. I will try to set the dtype explicit in thee cases. So you can ignore the failures for now.
Fixed! Took some more work than expected, but should work now.
Note that I updated to Pandas >2.0 in the process. You might need to run poetry install
again if you want to test the new changes.
I also created a follow-up issue #35, as during fixing that, I realised that we had at least one bug related to "unsafe" type casting from float to int and we should be more explicit about that by not allowing float
dtypes in objsects that we expect to be ints. We should force users to perform explicit typecasting.
Steps to reproduce:
poetry install
pip install pomegranate==0.14.2
pip install statsmodels
poetry run poe test
Result: