From f178ce66b4b62aa89d2a8dd0b7454b542cf67dd7 Mon Sep 17 00:00:00 2001 From: Tiago Freitas Pereira <tiagofrepereira@gmail.com> Date: Sun, 3 May 2020 18:38:51 +0200 Subject: [PATCH] [black] --- bob/bio/base/script/vanilla_biometrics.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bob/bio/base/script/vanilla_biometrics.py b/bob/bio/base/script/vanilla_biometrics.py index d6821620..f2f4e713 100644 --- a/bob/bio/base/script/vanilla_biometrics.py +++ b/bob/bio/base/script/vanilla_biometrics.py @@ -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 + # 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 -- GitLab