Closed mattias-erhardsson closed 2 weeks ago
Thanks! It's weird, I don't get the first deprecation warning, even when upgrading to pandas 2.2.2 (but I do know about it). So I can't really do a thorough fix but I've fixed the row that was highlighted in the warning. Leaving this issue open until you confirm that you don't see the warning anymore
For the Runtime warning: Levene's test (for homogeneity of variances) really does not like having fewer than three samples per group:D Calculations get wonky otherwise. I've now disabled it when there are fewer than three samples in a group
Both are in 8107a64
Both are fixed now, thank you =). I guess there would be few real-world examples where a user might attempt differential glycomics with just 2 samples in each group, but it could happen.
Running the latest version of pandas (2.2.2) and the Dev branch on glycowork (commit 6f81f00), there are two errors when running the following code:
The first error seems related to deprecated code related to pandas. The second error is some kind of divide by 0 error with challenging interpretability.