Skip to content

add DeprecationWarning to geneset() and snp_dataset() #1274

Open
ZiadXI wants to merge 1 commit intomalariagen:masterfrom
ZiadXI:fix/deprecation-warnings
Open

add DeprecationWarning to geneset() and snp_dataset() #1274
ZiadXI wants to merge 1 commit intomalariagen:masterfrom
ZiadXI:fix/deprecation-warnings

Conversation

@ZiadXI
Copy link
Copy Markdown
Contributor

@ZiadXI ZiadXI commented Apr 3, 2026

Fixing #1273

Both methods have been renamed for a while now, but calls were being forwarded without notifying users. I noticed while going through the codebase that there's no warning at all, unlike cnv_discordant_read_calls(), which already does this correctly.

This adds a DeprecationWarning to both, pointing users to the new names:

geneset() -> genome_features()
snp_dataset() -> snp_calls()
No behavior changes, just makes the deprecation actually visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant