hepdata
hepdata copied to clipboard
Repository for main HEPData web application
The metadata in elasticsearch has enhanced fields (see [document_enhancers.py](https://github.com/HEPData/hepdata/blob/master/hepdata/ext/elasticsearch/document_enhancers.py)) including `first_author` and `summary_authors`. It seems that imported records end up with the enhanced metadata in the DB `records_metadata` table, rather...
The `get_journal_info` function tries to parse the journal information from the `public_notes` field of the INSPIRE JSON if other methods fail: https://github.com/HEPData/hepdata/blob/d8ad04aef82ee952d073397147d4e95ac63bf225/hepdata/modules/inspire_api/parser.py#L151-L153 For the example of https://inspirehep.net/literature/1965617 the `public_notes` field...
The endpoint `/record/data///` checks for a `DataSubmission` with the corresponding `data_recid` and `version` via the line: https://github.com/HEPData/hepdata/blob/d8ad04aef82ee952d073397147d4e95ac63bf225/hepdata/modules/records/views.py#L271 But the code proceeds as normal even if `datasub_query.count() == 0` resulting in...
We're currently using the DataCite [MDS API](https://mds.datacite.org/) rather than the more recent [REST API](https://api.datacite.org/) recommended for new users. A [2018 blog article](https://blog.datacite.org/create-dois-with-the-rest-api/) introducing DOI creation using the REST API mentioned...
A [`CITATION.cff`](https://citation-file-format.github.io) file should be added to the root directory of the repository with suggested citation information, for authors wishing to cite the HEPData project as a whole (i.e. software...
This issue came up this week when we had to copy data files from the CephFS instance of one Kubernetes cluster to another. It would be useful if there was...
We were requested in June 2020 by CERN's [Office of Data Privacy](https://privacy.web.cern.ch) to provide a Privacy Notice for HEPData. This should be linked from the footer as with the existing...
See https://docs.sqlalchemy.org/en/14/changelog/migration_14.html for details of 1.4 release. Would also need to update Flask-SQLAlchemy to >=2.5.
When adding a resource to a sandbox record, the [`add_resource` method](https://github.com/HEPData/hepdata/blob/07d9be7b27c5c5827b03bdaa93799fc4180ebe8d/hepdata/modules/records/views.py#L810) does not always take into account that the record could be a sandbox record. * [line 860](https://github.com/HEPData/hepdata/blob/07d9be7b27c5c5827b03bdaa93799fc4180ebe8d/hepdata/modules/records/views.py#L860) tries to...
I have problems running this test on my laptop with the `RUN_SELENIUM_LOCALLY = True` option. I get errors like `selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable` from the line: https://github.com/HEPData/hepdata/blob/301151616bde690b0135b9b05b55d53c8905c04e/tests/e2e/test_records.py#L109 I spent...