owkin / PyDESeq2

A Python implementation of the DESeq2 pipeline for bulk RNA-seq DEA.
https://pydeseq2.readthedocs.io/en/latest/
MIT License
573 stars 60 forks source link

Fix: latex display in sphinx doc #266

Closed tanguy-marchand closed 5 months ago

tanguy-marchand commented 5 months ago

What does your PR implement? Be specific.

I checked the result by rebuilding the doc and checking that the formulae are properly rendered. Before: image

After: image

WARNING: autodoc: failed to import module 'grid_search' from module 'pydeseq2'; the following exception was raised:
cannot import name 'grid_fit_alpha' from partially initialized module 'pydeseq2.grid_search' (most likely due to a circular import) (/Users/owkin/Project/PyDESeq2/pydeseq2/grid_search.py)

Indeed grid_search imports utils and vice versa. But I don't think it should be solved in this PR.

umarteauowkin commented 5 months ago
Capture d’écran 2024-04-02 à 10 54 48

While we're at it, this formula is wrong, the second y_i should be a mu_i :)

tanguy-marchand commented 5 months ago

Capture d’écran 2024-04-02 à 10 54 48 While we're at it, this formula is wrong, the second y_i should be a mu_i :)

New formula: image