From 8311a6cfa0d84470b8316473477326141c2acda9 Mon Sep 17 00:00:00 2001 From: Graeme Watt Date: Thu, 5 Oct 2023 12:57:29 +0100 Subject: [PATCH] docs: add hepdata.modules.records.utils.analyses --- docs/modules/records.rst | 6 ++++++ tests/records_test.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/modules/records.rst b/docs/modules/records.rst index 79c2a1ba9..d73c6f6d6 100644 --- a/docs/modules/records.rst +++ b/docs/modules/records.rst @@ -15,6 +15,7 @@ contains the JavaScript code that renders the tables and plots in a web browser hepdata.modules.records.subscribers.api hepdata.modules.records.subscribers.models hepdata.modules.records.subscribers.rest + hepdata.modules.records.utils.analyses hepdata.modules.records.utils.common hepdata.modules.records.utils.data_processing_utils hepdata.modules.records.utils.doi_minter @@ -60,6 +61,11 @@ hepdata.modules.records.subscribers.rest .. automodule:: hepdata.modules.records.subscribers.rest +hepdata.modules.records.utils.analyses +-------------------------------------- + +.. automodule:: hepdata.modules.records.utils.analyses + hepdata.modules.records.utils.common ------------------------------------ diff --git a/tests/records_test.py b/tests/records_test.py index 809436df5..af0239392 100644 --- a/tests/records_test.py +++ b/tests/records_test.py @@ -1040,7 +1040,7 @@ def test_update_analyses(app): assert len(analysis_resources) == 1 assert analysis_resources[0].file_location == 'http://rivet.hepforge.org/analyses/ATLAS_2012_I1203852' - # Import a record that has an associated MadAnalysis 5 analyses + # Import a record that has an associated MadAnalysis 5 analysis import_records(['ins1811596'], synchronous=True) analysis_resources = DataResource.query.filter_by(file_type='MadAnalysis').all() assert len(analysis_resources) == 0