Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman committed Jun 28, 2022
1 parent f618e74 commit e139d04
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions popmon/pipeline/metrics_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e139d04

Please sign in to comment.