KatyBrown / CIAlign

MIT License
117 stars 9 forks source link

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

Open dprokopov opened 1 week ago

dprokopov commented 1 week ago

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.