VoigtLab / dnaplotlib

DNA plotting library for Python
MIT License
287 stars 73 forks source link

orientation issue #28

Open aaroncooper opened 4 years ago

aaroncooper commented 4 years ago

The library_plot.py scripts in here do a reversal of the begin and end dictionary values for parts, but this reversal also happens in the dnaplotlib module, so reversal gets reversed, if you will! I just commented out these lines from the library_plot.py script and all is well again. Seems like it'd be good to remove these, since the reversal is handled completely in the module?

if fwd == True:
    part_design['start'] = i
    part_design['end'] = i+1
else:
    part_design['end'] = i
    part_design['start'] = i+1