diff --git a/validphys2/src/validphys/tests/baseline/test_plot_xq2.png b/validphys2/src/validphys/tests/baseline/test_plot_xq2.png index 537f226a9f..20a257d370 100644 Binary files a/validphys2/src/validphys/tests/baseline/test_plot_xq2.png and b/validphys2/src/validphys/tests/baseline/test_plot_xq2.png differ diff --git a/validphys2/src/validphys/tests/baseline/test_plot_xq2_custom.png b/validphys2/src/validphys/tests/baseline/test_plot_xq2_custom.png index 430ea3c0f9..79e7cbb318 100644 Binary files a/validphys2/src/validphys/tests/baseline/test_plot_xq2_custom.png and b/validphys2/src/validphys/tests/baseline/test_plot_xq2_custom.png differ diff --git a/validphys2/src/validphys/tests/baseline/test_plotfancy.png b/validphys2/src/validphys/tests/baseline/test_plotfancy.png index 5fb10a97de..48783e77bc 100644 Binary files a/validphys2/src/validphys/tests/baseline/test_plotfancy.png and b/validphys2/src/validphys/tests/baseline/test_plotfancy.png differ diff --git a/validphys2/src/validphys/tests/conftest.py b/validphys2/src/validphys/tests/conftest.py index 3940e0d678..17e23d618e 100644 --- a/validphys2/src/validphys/tests/conftest.py +++ b/validphys2/src/validphys/tests/conftest.py @@ -35,7 +35,7 @@ def tmp(tmpdir): DATA = [ {'dataset': 'NMC_NC_NOTFIXED_P_EM-SIGMARED', 'variant': 'legacy'}, {'dataset': 'ATLAS_TTBAR_7TEV_TOT_X-SEC', 'variant': 'legacy'}, - {'dataset': 'CMS_Z0J_8TEV_PT-Y', 'cfac': ['NRM'], 'variant': 'legacy_10'}, + {'dataset': 'CMS_Z0J_8TEV_PT-Y'}, # Explicitly put a CMS dataset between the two ATLAS SINGLE_DATAPOINT, ] @@ -47,7 +47,7 @@ def tmp(tmpdir): 'datasets': [ {'dataset': 'NMC_NC_NOTFIXED_P_EM-SIGMARED', 'variant': 'legacy'}, {'dataset': 'ATLAS_TTBAR_7TEV_TOT_X-SEC', 'variant': 'legacy'}, - {'dataset': 'CMS_Z0J_8TEV_PT-Y', 'cfac': ['NRM'], 'variant': 'legacy_10'}, + {'dataset': 'CMS_Z0J_8TEV_PT-Y'}, ], } ] @@ -60,7 +60,7 @@ def tmp(tmpdir): DATA_THCOVMAT = [ {'dataset': 'NMC_NC_NOTFIXED_P_EM-SIGMARED', 'variant': 'legacy'}, {'dataset': 'CHORUS_CC_NOTFIXED_PB_NU-SIGMARED', 'variant': 'legacy_dw'}, - {'dataset': 'CMS_Z0J_8TEV_PT-Y', 'cfac': ['NRM'], 'variant': 'legacy_10'}, + {'dataset': 'CMS_Z0J_8TEV_PT-Y'}, {'dataset': 'ATLAS_WJ_8TEV_WP-PT', 'variant': 'legacy'}, {'dataset': 'LHCB_Z0_8TEV_MUON_Y', 'cfac': ['NRM']}, ] diff --git a/validphys2/src/validphys/tests/test_plots.py b/validphys2/src/validphys/tests/test_plots.py index 12c7c8523e..37faad9c76 100644 --- a/validphys2/src/validphys/tests/test_plots.py +++ b/validphys2/src/validphys/tests/test_plots.py @@ -27,7 +27,7 @@ def test_dataspecschi2(): dsinpts = [ {'dataset': 'NMC_NC_NOTFIXED_P_EM-SIGMARED', 'variant': 'legacy'}, {'dataset': 'ATLAS_TTBAR_7TEV_TOT_X-SEC', 'variant': 'legacy'}, - {'dataset': 'CMS_Z0J_8TEV_PT-Y', 'cfac': ['NRM'], 'variant': 'legacy'}, + {'dataset': 'CMS_Z0J_8TEV_PT-Y'}, ] dataspecs = [ {'pdf': PDF, 'theoryid': THEORYID, 'speclabel': 'no t0'}, @@ -81,7 +81,7 @@ def test_plot_xq2(): dataset_inputs = [ {'dataset': 'NMC_NC_NOTFIXED_P_EM-SIGMARED', 'variant': 'legacy'}, {'dataset': 'ATLAS_TTBAR_7TEV_TOT_X-SEC', 'variant': 'legacy'}, - {'dataset': 'CMS_Z0J_8TEV_PT-Y', 'cfac': ['NRM'], 'variant': 'legacy'}, + {'dataset': 'CMS_Z0J_8TEV_PT-Y'}, ] return API.plot_xq2( @@ -107,12 +107,7 @@ def test_plot_xq2_custom(): dataset_inputs = [ {'dataset': 'NMC_NC_NOTFIXED_P_EM-SIGMARED', 'variant': 'legacy', 'custom_group': 'one'}, {'dataset': 'ATLAS_TTBAR_7TEV_TOT_X-SEC', 'variant': 'legacy', 'custom_group': 'one'}, - { - 'dataset': 'CMS_Z0J_8TEV_PT-Y', - 'cfac': ['NRM'], - 'variant': 'legacy', - 'custom_group': 'two', - }, + {'dataset': 'CMS_Z0J_8TEV_PT-Y', 'custom_group': 'two'}, ] return API.plot_xq2(