mconlon17/vivo-pump

Refactor get_step_triples as a Pump method

Closed this issue · 1 comments

Move get_step_triples to pump.py. Make it as an internal Pump method.

This is a prerequisite for #170 -- we didn't have enough information in the function to determine the triples -- as a method, we have access to the instance variables, including self.update_def, the whole definition. When operating in a closure, we should be able to filter the triples to those meeting the column def.

Done. _get_step_triples is now a Pump method with a a simplified calling sequence and access to Pump instance variables.