bio-learn/biolearn

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

開放

#200 建立於 2026年3月25日

 (0 則留言) (0 個反應) (0 位負責人)Python (35 個分叉)auto 404
good first issue

倉庫指標

星標
 (87 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南