-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
I'm not clear on why Oligo doesn't inherit from ListMixin. This would allow using Oligo.find_by_name just as you can with DNASequence.
Currently I'm using the following monkey-patch, which seems to work:
if benchlingapi.models.mixins.ListMixin not in benchlingapi.models.Oligo.__bases__:
benchlingapi.models.Oligo.__bases__ = (
benchlingapi.models.mixins.ListMixin,
) + benchlingapi.models.Oligo.__bases__