rtviii / riboxyz

htpps://ribosome.xyz
0 stars 0 forks source link

Replace all `Literal`s with `Enum`-style impls in `ribosome_types` #21

Closed rtviii closed 1 year ago

rtviii commented 1 year ago

They stack nicer and can be queried for belonging, passed around as arguments. Do typing.Union[X,Y,Z] at the highest level only, e.g. PolymerClass = typing.Union[rRNAClass,rProteinClass,rFactorClass, tRNAClass]

rtviii commented 1 year ago

27