-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Hi,
I've encountered an issue in the renderDNA function (dnaplotlib/dnaplotlib.py). Each part object must have a 'start' and an 'end' value. If these values are not provided by the user, then it causes a "Key Error" in case the part is reverse oriented. (line 2574-2577).
For me, this simple fix solved the problem:
#start = part['start']
#end = part['end']
part['end'] = part_num + 1
part['start'] = part_num
Thanks,
Ernst
Metadata
Metadata
Assignees
Labels
No labels