diff --git a/pysam/__init__.py b/pysam/__init__.py index 81fbe6b1..041acbdd 100644 --- a/pysam/__init__.py +++ b/pysam/__init__.py @@ -44,6 +44,7 @@ libcalignmentfile.__all__ + # type: ignore libcalignedsegment.__all__ + # type: ignore libcsamfile.__all__ + # type: ignore + samtools.__all__ + # type: ignore ["SamtoolsError"] + ["Pileup"] ) diff --git a/pysam/samtools.py b/pysam/samtools.py index 046658f9..95f0dcfb 100644 --- a/pysam/samtools.py +++ b/pysam/samtools.py @@ -65,6 +65,8 @@ "samples": ("samples", ()), } +__all__ = list(_SAMTOOLS_DISPATCH.keys()) + def _wrap_command( dispatch: str,