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

forward explicit kwargs #86

Closed jan-glx closed 2 years ago

jan-glx commented 2 years ago

fixes specified id, name or description being ignored (failed tests in e.g. https://github.com/BjornFJohansson/pydna/actions/runs/3098962613/jobs/5017517313 )

jan-glx commented 2 years ago

The earlier PR (#84) had a bug that lead to several explicitly defined keyword arguments (id, name, description) of the pydna.seqrecord.SeqRecord constructor being ignored.

This PR (against the branch into which the original PR was merged) fixes this by forwarding these arguments to the parent class (Bio.seqrecord.SeqRecord) constructor.