bio-learn/biolearn

enhancement: surface required CpG sites in docs for models without a coefficients file

Aperta

#200 aperta il 25 mar 2026

 (0 commenti) (0 reazioni) (0 assegnatari)Python (35 fork)auto 404
good first issue

Metriche repository

Star
 (87 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Models like HurdleInflammAge don't have a model.file entry but do expose their required sites via methylation_sites(). The doc generator currently shows "N/A" for these models.

A future improvement could instantiate the model (or extract sites statically) to populate the coefficients column. This would require reworking how doc/generate.py accesses model info since it currently only reads static definition dicts, not instantiated objects.

Ref: https://github.com/bio-learn/biolearn/pull/197#pullrequestreview-2710853685

Guida contributor