foxes.input.yaml.run_obj_function(obj, fdict, algo, with_engine, results_storage, nofig=False, verbosity=None)[source]

Runs a function of an object

Parameters

obj: object

The object

fdict: dict

The function call dict

algo: foxes.core.Algorithm

The algorithm

with_engine: bool

Flag for running from within engine context

results_storage: dict

Storage for result variables

nofig: bool

Do not show figures, overrules settings from fdict

verbosity: int, optional

The verbosity level, 0 = silent

Returns

results: object

The returns of the function