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

making python Alignment objects subscriptable #65

Open
diekhans opened this issue Aug 22, 2024 · 0 comments
Open

making python Alignment objects subscriptable #65

diekhans opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@diekhans
Copy link

Being able to index as an array as well as iterate would be useful

>>> type(blk)                                                                                              
<class 'taffy.lib.Alignment'>                                                                              
>>> blk[0]                                                                                                 
Traceback (most recent call last):                                                                         
  File "<stdin>", line 1, in <module>                                                                      
TypeError: 'Alignment' object is not subscriptable                                                         

@diekhans diekhans added the enhancement New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant