Skip to content
Snippets Groups Projects
Commit b60f2bff authored by David Schäfer's avatar David Schäfer
Browse files

call plot only when needed

parent 113e4090
No related branches found
No related tags found
No related merge requests found
......@@ -133,14 +133,14 @@ def runner(config_file, flagger, data, flags=None, nodata=np.nan, error_policy="
raise e
continue
plotHook(
data_chunk_result,
flagger_chunk,
flagger_chunk_result,
varname,
configrow[Fields.PLOT],
func,
)
if configrow[Fields.PLOT]:
plotHook(
data_chunk_result,
flagger_chunk,
flagger_chunk_result,
varname,
func,
)
# NOTE:
# time slicing support is currently disabled
......
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