Closed kalekundert closed 2 years ago
Reaction
(and MasterMix
) should both learn how to format complete steps, with the "Setup # type-of-reaction reactions:" line. These lines are something that I'm currently re-writing over and over. It would remain possible to get the individual reaction tables, there would just be an option to get a more plug-n-play protocol.
Broadly, I'm thinking about stepwise as a formatting library, so things like Reaction
and MasterMix
that are core to stepwise should have powerful formatting options.
I've started to think that the way I'm representing master mixes isn't right. Right now I basically just add a "master mix" column to a normal reaction table, but this approach has some downsides:
Pros:
Cons:
I think it might be good to refactor the
MasterMix
data model to comprise:Like
Protocol
and (eventually)Reaction
,MasterMix
should primarily be a formatting class, but now its output would be a list of master mix steps with normal reaction tables for each one, e.g.: