bio-learn/biolearn

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

Aberta

#200 aberto em 25 de mar. de 2026

 (0 comentário) (0 reação) (0 responsável)Python (35 forks)auto 404
good first issue

Métricas do repositório

Stars
 (87 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador