Skip to content

making python Alignment objects subscriptable  #65

@diekhans

Description

@diekhans

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                                                         

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions