Skip to content

Error accessing roh_hmm #1151

@KellyLBennett

Description

@KellyLBennett

An error is raised accessing the ag3.roh_hmm function as below.

NotImplementedError Traceback (most recent call last)
/tmp/ipykernel_264/1691514004.py in <cell line: 0>()
----> 1 roh_plot_df=get_roh_counts(region=['3L'], sample_query='sample_set == "1273-VO-ZM-MULEBA-VMF00176" and taxon == "gambiae"', site_mask='gamb_colu', window_size=10_000)

3 frames
/usr/local/lib/python3.12/dist-packages/malariagen_data/anopheles.py in _roh_hmm_cache_name(self)
564 @AbstractMethod
565 def _roh_hmm_cache_name(self):
--> 566 raise NotImplementedError("Must override _roh_hmm_cache_name")
567
568 @_check_types

NotImplementedError: Must override _roh_hmm_cache_name

It seems this error stems from trying to access the internal function _roh_hmm_cache_name. Possibly this does not return a doc string as expected when setting up the results cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions