Skip to content
Snippets Groups Projects
Commit 39033980 authored by Stefano Borini's avatar Stefano Borini
Browse files

Revert "Adds a bit more logging to input and output values for the data sources."

This reverts commit 4642c2bc.
parent 4642c2bc
No related branches found
No related tags found
No related merge requests found
......@@ -133,9 +133,6 @@ def _compute_layer_results(environment_data_values,
# execute data source, passing only relevant data values.
log.info("Evaluating for Data Source {}".format(
factory.name))
log.info("Passed values:")
for idx, dv in enumerate(passed_data_values):
log.info("{}: {}".format(idx, dv))
try:
res = data_source.run(model, passed_data_values)
......@@ -179,12 +176,7 @@ def _compute_layer_results(environment_data_values,
# If the name was not specified, simply discard the value,
# because apparently the user is not interested in it.
res = [r for r in res if r.name != ""]
results.extend(res)
log.info("Returned values:")
for idx, dv in enumerate(res):
log.info("{}: {}".format(idx, dv))
results.extend([r for r in res if r.name != ""])
# Finally, return all the computed data values from all evaluators,
# properly named.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment