You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the workflow already used for "HistFactory" analyses, a resource file identified by type: ProSelecta (case-insensitive) in the submission.yaml file should be identified by a badge saying "NUISANCE" that links to the relevant resource file landing page. If using hepdata_lib, pass file_type = 'ProSelecta' to the add_additional_resource function. Searches like analyses:NUISANCE or resources.type:ProSelecta should return all relevant records.
It doesn't look like any changes are needed to the hepdata-validator package, only to the main web application. I'll try to work on the implementation in the coming weeks.
@patrickstowell@luketpickering : I had a look at the HEPData code for the HistFactory badges and this was easy to implement by changing a few lines. I tested by uploading an example to the development instance running on my laptop after adding type: ProSelecta to the submission.yaml file then finalising with INSPIRE ID 182176 (probably a mismatch, but just for testing). Some screenshots below. The "NUISANCE" badges only show up when the record is added to the OpenSearch index, which only happens when a record is finalised and not for Sandbox records. If this looks good to you, I can open a PR next week to close this issue. The only question I have is whether you agree with type: ProSelecta and a "NUISANCE" analysis badge or is it confusing that the two are different? Alternatives would be to use either "ProSelecta" or "NUISANCE" consistently for both the type and the text of the analysis badge.
Screenshot showing search results for "analysis:NUISANCE":
@patrickstowell@luketpickering : this feature was deployed in production on 9th July, so please use type: ProSelecta to identify the C++ snippets in your future submissions. Or pass file_type = 'ProSelecta' to the add_additional_resource function if using hepdata_lib. I've added a new NUISANCE section to the HEPData submission documentation and opened a PR to update the hepdata_lib documentation.
Following the workflow already used for "HistFactory" analyses, a resource file identified by
type: ProSelecta
(case-insensitive) in thesubmission.yaml
file should be identified by a badge saying "NUISANCE" that links to the relevant resource file landing page. If usinghepdata_lib
, passfile_type = 'ProSelecta'
to theadd_additional_resource
function. Searches likeanalyses:NUISANCE
orresources.type:ProSelecta
should return all relevant records.It doesn't look like any changes are needed to the hepdata-validator package, only to the main web application. I'll try to work on the implementation in the coming weeks.
Cc: @patrickstowell @luketpickering
The text was updated successfully, but these errors were encountered: