Skip to content
Snippets Groups Projects
Commit f178ce66 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

[black]

parent afbe3b9e
Branches
Tags
2 merge requests!185Wrappers and aggregators,!180[dask] Preparing bob.bio.base for dask pipelines
......@@ -175,14 +175,14 @@ def vanilla_biometrics(pipeline, database, dask_client, groups, output, **kwargs
if dask_client is not None:
result = result.compute(scheduler=dask_client)
else:
logger.warning(
"`dask_client` not set. Your pipeline will run locally"
)
logger.warning("`dask_client` not set. Your pipeline will run locally")
result = result.compute(scheduler="single-threaded")
# Check if there's a score writer hooked in
if hasattr(pipeline.biometric_algorithm, "score_writer"):
pipeline.biometric_algorithm.score_writer.concatenate_write_scores(result, score_file_name)
pipeline.biometric_algorithm.score_writer.concatenate_write_scores(
result, score_file_name
)
else:
with open(score_file_name, "w") as f:
# Flatting out the list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment