Skip to content

Commit

Permalink
docs: add hepdata.modules.records.utils.analyses
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeWatt committed Oct 5, 2023
1 parent 19e5182 commit 8311a6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/modules/records.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion tests/records_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8311a6c

Please sign in to comment.