You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: