From a74e9f78c68d2bf9594d01bd0f37c964f4c2ecb4 Mon Sep 17 00:00:00 2001 From: Christian Gutschow Date: Tue, 24 Oct 2023 15:45:20 +0100 Subject: [PATCH] rename 0D example --- hepdata_converter/testsuite/test_yodawriter.py | 4 ++-- .../{yaml_no_dependent => yaml_no_independent}/ph1_pt.yaml | 0 .../{yaml_no_dependent => yaml_no_independent}/ph2_pt.yaml | 0 .../submission.yaml | 0 .../{yaml_no_dependent => yaml_no_independent}/yy_costs.yaml | 0 .../{yaml_no_dependent => yaml_no_independent}/yy_m.yaml | 0 .../yy_phistar.yaml | 0 .../yy_pimdphi.yaml | 0 .../{yaml_no_dependent => yaml_no_independent}/yy_pt.yaml | 0 .../{yaml_no_dependent => yaml_no_independent}/yy_ptt.yaml | 0 .../{yaml_no_dependent => yaml_no_independent}/yy_xs.yaml | 0 .../testdata/yoda/{no_dependent.yoda => no_independent.yoda} | 0 12 files changed, 2 insertions(+), 2 deletions(-) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/ph1_pt.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/ph2_pt.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/submission.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/yy_costs.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/yy_m.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/yy_phistar.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/yy_pimdphi.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/yy_pt.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/yy_ptt.yaml (100%) rename hepdata_converter/testsuite/testdata/{yaml_no_dependent => yaml_no_independent}/yy_xs.yaml (100%) rename hepdata_converter/testsuite/testdata/yoda/{no_dependent.yoda => no_independent.yoda} (100%) diff --git a/hepdata_converter/testsuite/test_yodawriter.py b/hepdata_converter/testsuite/test_yodawriter.py index 0fd697d..99d3524 100644 --- a/hepdata_converter/testsuite/test_yodawriter.py +++ b/hepdata_converter/testsuite/test_yodawriter.py @@ -63,8 +63,8 @@ def test_parse_pattern_unmatch(self, yaml_simple_path, yoda_template): with open(output_file_path, 'r') as f: self.assertMultiLineAlmostEqual(f, yoda_template) - @insert_path('yaml_no_dependent') - @insert_data_as_file('yoda/no_dependent.yoda') + @insert_path('yaml_no_independent') + @insert_data_as_file('yoda/no_independent.yoda') def test_parse_no_dependent(self, yaml_simple_path, yoda_template): output_file_path = os.path.join(self.current_tmp, 'datafile.yoda') hepdata_converter.convert(yaml_simple_path, output_file_path, diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/ph1_pt.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/ph1_pt.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/ph1_pt.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/ph1_pt.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/ph2_pt.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/ph2_pt.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/ph2_pt.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/ph2_pt.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/submission.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/submission.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/submission.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/submission.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_costs.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/yy_costs.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_costs.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/yy_costs.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_m.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/yy_m.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_m.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/yy_m.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_phistar.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/yy_phistar.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_phistar.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/yy_phistar.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_pimdphi.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/yy_pimdphi.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_pimdphi.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/yy_pimdphi.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_pt.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/yy_pt.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_pt.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/yy_pt.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_ptt.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/yy_ptt.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_ptt.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/yy_ptt.yaml diff --git a/hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_xs.yaml b/hepdata_converter/testsuite/testdata/yaml_no_independent/yy_xs.yaml similarity index 100% rename from hepdata_converter/testsuite/testdata/yaml_no_dependent/yy_xs.yaml rename to hepdata_converter/testsuite/testdata/yaml_no_independent/yy_xs.yaml diff --git a/hepdata_converter/testsuite/testdata/yoda/no_dependent.yoda b/hepdata_converter/testsuite/testdata/yoda/no_independent.yoda similarity index 100% rename from hepdata_converter/testsuite/testdata/yoda/no_dependent.yoda rename to hepdata_converter/testsuite/testdata/yoda/no_independent.yoda