bio-learn/biolearn

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

オープン

#200 opened on 2026/03/25

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (35 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (87 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド