I got sick of create going through but then later getting nasty surprises..
I'd prefer to do something along the lines of
Graft().graft(...)
But unfortunately Run is tightly coupled to argparse (args is an instance variable). If we make a new Graft class then we might need to also define a Graft.DEFAULT_PARAMETERS so that defaults can be specified in bin/graftM and in the method definition of Graft.graft without repetition (repetition might mean they become out of sync, which would be bad). ..future work.
I got sick of create going through but then later getting nasty surprises..
I'd prefer to do something along the lines of
But unfortunately
Run
is tightly coupled to argparse (args
is an instance variable). If we make a newGraft
class then we might need to also define aGraft.DEFAULT_PARAMETERS
so that defaults can be specified inbin/graftM
and in the method definition ofGraft.graft
without repetition (repetition might mean they become out of sync, which would be bad). ..future work.