Skip to content

Commit

Permalink
fix(config): backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman committed Jun 28, 2022
1 parent 5e92e32 commit 6891039
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions popmon/pipeline/metrics_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def __init__(
suffix_mean="_mean",
suffix_std="_std",
suffix_pull="_pull",
metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys()],
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 +303,7 @@ def __init__(
suffix_mean="_mean",
suffix_std="_std",
suffix_pull="_pull",
metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys()],
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 +357,7 @@ def __init__(
suffix_mean="_mean",
suffix_std="_std",
suffix_pull="_pull",
metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys()],
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 +415,7 @@ def __init__(
suffix_mean="_mean",
suffix_std="_std",
suffix_pull="_pull",
metrics=[f"{reference_prefix}_{key}" for key in Comparisons.get_keys()],
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 6891039

Please sign in to comment.