Skip to content
New issue

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

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

Already on GitHub? # to your account

populate symbols for samtools and bcftools. #1143

Merged
merged 2 commits into from
Mar 8, 2023

Conversation

Kentalot
Copy link
Contributor

improve mypy symbols

@AndreasHeger
Copy link
Contributor

Many thanks!

@AndreasHeger AndreasHeger merged commit fbbc3e1 into pysam-developers:master Mar 8, 2023
jmarshall added a commit to jmarshall/pysam that referenced this pull request Oct 22, 2024
Simplify the code by just writing these out directly, and hence letting
type checkers just infer the obvious type. Make PysamDispatch(parsers=...)
an optional parameter, as nothing now uses these parsers anyway.

Remove "import_", which was added as an alias of "fqimport" in PR pysam-developers#1143
without announcement or documentation and seemingly accidentally. The
redundant "import_" appeared in v0.21.0, but "fqimport" has been present
since v0.17.0.

Define __all__ in pysam/bcftools.py for good measure.

Import all of pysam.utils to avoid pysam.{sam,bcf}tools.PysamDispatcher
namespace pollution -- pysam.utils will be imported anyway.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants