BjornFJohansson / pydna

Clone with Python! Data structures for double stranded DNA & simulation of homologous recombination, Gibson assembly, cut & paste cloning.
Other
166 stars 45 forks source link

Simplify Dseq.init #240

Closed JeffXiePL closed 4 months ago

JeffXiePL commented 4 months ago

The code here could be simplified to a if >= statement

https://github.com/BjornFJohansson/pydna/blob/989e76eec0e46775aac7df1cab7c957834117608/src/pydna/dseq.py#L343-L347

BjornFJohansson commented 4 months ago

I agree! nice work!

BjornFJohansson commented 4 months ago

Ill close this as this was fixed.