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

fix: add missing properties to AlignedSegment type stubs #1273

Merged

Conversation

msto
Copy link
Contributor

@msto msto commented Mar 16, 2024

#1088 added is_mapped and is_forward (and their mate equivalents) to the AlignedSegment API, but didn't declare these properties in the corresponding type stubs. Their absence here causes downstream woes with mypy's type checking

@msto msto changed the title fix: add missing properties to AlignedSegment interface fix: add missing properties to AlignedSegment type stubs Mar 17, 2024
@jmarshall
Copy link
Member

These were added while the type hints PR #1008 was still in flight. So it is more that the latter was (understandably) not updated with additions on master before it was itself merged.

In any case, thanks for the useful contribution. I've checked for other additions while the type hints were gestating — there were two, and I've added type stubs for them to your branch.

@jmarshall jmarshall merged commit d32073b into pysam-developers:master Apr 19, 2024
12 checks passed
@msto
Copy link
Contributor Author

msto commented Apr 19, 2024

Thanks @jmarshall !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants