malariagen / malariagen-data-python

Analyse MalariaGEN data from Python
https://malariagen.github.io/malariagen-data-python/latest/
MIT License
13 stars 23 forks source link

Ensure a site mask is used by default for Anopheles popgen functions #546

Closed alimanfoo closed 1 month ago

alimanfoo commented 1 month ago

Make sure that all Anopheles popgen functions use a site mask by default. This is achieved by setting the default value of the site_mask parameter to the sentinel base_params.DEFAULT which is resolved to whichever is the default site mask for the given data resource (e.g., "gamb_colu_arab" for Ag3).

Also make sure that None can be used as a value of the site_mask parameter, in case expert users want to see results without any site mask applied.

leehart commented 1 month ago

Merging soon, unless objections. Will then release v10.0.0