Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a file for the code shared by all _frequencies functions #690

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions malariagen_data/anoph/cnv_frq.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,25 @@
from numpydoc_decorator import doc # type: ignore

from . import base_params, cnv_params, frq_params
from .frq_funcs import (
prep_samples_for_cohort_grouping,
build_cohorts_from_sample_grouping,
add_frequency_ci,
)
from ..util import (
check_types,
pandas_apply,
Region,
parse_multi_region,
region_str,
simple_xarray_concat,
prep_samples_for_cohort_grouping,
build_cohorts_from_sample_grouping,
add_frequency_ci,
)
from .cnv_data import AnophelesCnvData
from .frq_funcs import AnophelesFrequency
from .sample_metadata import locate_cohorts


class AnophelesCnvFrequencyAnalysis(
AnophelesCnvData,
):
class AnophelesCnvFrequencyAnalysis(AnophelesCnvData, AnophelesFrequency):
def __init__(
self,
**kwargs,
Expand Down
Loading
Loading