BioSystemsUM / troppo

Reconstruction algorithms for Python
GNU General Public License v3.0
23 stars 5 forks source link

Implement generic GapfillWrapper #4

Closed vvvieira closed 4 years ago

vvvieira commented 4 years ago

A generic GapfillWrapper class should be implemented to decode inputs related with the model Syntax should amount to something like this - gpflw = GapfillWrapper(model, method, **kwargs):

The latter implies the addition of a function converting dict -> GapfillProperties

GapfillWrapper instances must implement a run method accepting parameters to define context and a gapfill objective. This might be subject to change depending on which algorithms get implemented. At the very least, there should be an easy way to define both context coming from ReconstructionWrapper.run() calls and gapfill objectives in the form of constraints or Task objects. Alternatively, the latter part could be added to the GapfillWrapper init function.

vvvieira commented 4 years ago

Merged changes on dev and closed