For sw reaction, I implemented a semi-colon separated syntax for specifying reagents. This works pretty well, but I want to make two improvements:
Generalize the syntax to allow key=value pairs after all the "positional arguments" have been specified. This will be useful for specifying flags (e.g. as used by sw ivtt) or possibly concentrations (see #36).
Move the parsing to the Reagent class, so that protocols other than sw reaction can easily make use of it. For example, I've found that it's often nice for protocols to accept an --additive argument that allows custom reagents to be added to a reaction.
For
sw reaction
, I implemented a semi-colon separated syntax for specifying reagents. This works pretty well, but I want to make two improvements:key=value
pairs after all the "positional arguments" have been specified. This will be useful for specifying flags (e.g. as used bysw ivtt
) or possibly concentrations (see #36).sw reaction
can easily make use of it. For example, I've found that it's often nice for protocols to accept an--additive
argument that allows custom reagents to be added to a reaction.