diff --git a/popmon/pipeline/metrics_pipelines.py b/popmon/pipeline/metrics_pipelines.py index 7cba9fc9..601c5eb1 100644 --- a/popmon/pipeline/metrics_pipelines.py +++ b/popmon/pipeline/metrics_pipelines.py @@ -240,7 +240,11 @@ def __init__( suffix_mean="_mean", suffix_std="_std", suffix_pull="_pull", - metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys() if key in ['max_prob_diff', 'psi', 'jsd']], + metrics=[ + f"{reference_prefix}_{key}" + for key in Comparisons.get_keys() + if key in ["max_prob_diff", "psi", "jsd"] + ], ), # 4. profiling of histograms, then pull calculation compared with reference mean and std, # to obtain normalized residuals of profiles @@ -303,7 +307,11 @@ def __init__( suffix_mean="_mean", suffix_std="_std", suffix_pull="_pull", - metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys() if key in ['max_prob_diff', 'psi', 'jsd']], + metrics=[ + f"{reference_prefix}_{key}" + for key in Comparisons.get_keys() + if key in ["max_prob_diff", "psi", "jsd"] + ], ), # 4. pull calculation compared with reference mean and std, to obtain normalized residuals of profiles ReferencePullCalculator( @@ -357,7 +365,11 @@ def __init__( suffix_mean="_mean", suffix_std="_std", suffix_pull="_pull", - metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys() if key in ['max_prob_diff', 'psi', 'jsd']], + metrics=[ + f"{reference_prefix}_{key}" + for key in Comparisons.get_keys() + if key in ["max_prob_diff", "psi", "jsd"] + ], ), # 4. profiling of histograms, then pull calculation compared with reference mean and std, # to obtain normalized residuals of profiles @@ -415,7 +427,11 @@ def __init__( suffix_mean="_mean", suffix_std="_std", suffix_pull="_pull", - metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys() if key in ['max_prob_diff', 'psi', 'jsd']], + metrics=[ + f"{reference_prefix}_{key}" + for key in Comparisons.get_keys() + if key in ["max_prob_diff", "psi", "jsd"] + ], ), ExpandingPullCalculator( read_key="profiles",