Skip to content

Fix AttributeError in drawMarkUp by converting nams to a list#70

Open
dprokopov wants to merge 1 commit into
KatyBrown:masterfrom
dprokopov:fix/AttributeError-in-drawMarkUp
Open

Fix AttributeError in drawMarkUp by converting nams to a list#70
dprokopov wants to merge 1 commit into
KatyBrown:masterfrom
dprokopov:fix/AttributeError-in-drawMarkUp

Conversation

@dprokopov
Copy link
Copy Markdown

Resolved an issue in miniAlignments.py where nams, a numpy.ndarray, caused an AttributeError due to the use of the index method, which is unavailable for numpy arrays. Added a type check to convert nams to a list before calling index. This ensures compatibility and prevents runtime errors when handling nams in drawMarkUp.

Resolved an issue in miniAlignments.py where nams, a numpy.ndarray, caused an AttributeError due to the use of the index method, which is unavailable for numpy arrays. Added a type check to convert nams to a list before calling index. This ensures compatibility and prevents runtime errors when handling nams in drawMarkUp.
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.

1 participant