nnpdf_data.cli package
Command Line Interface for nnpdf-data.
Submodules
nnpdf_data.cli.index module
Index the whole set of data plus a few nice utilities.
- nnpdf_data.cli.index.build_index(skip_failures=True, skip_special=True)[source]
Build the dataset index by scanning and loading all possible metadata files found in all possible data paths.
If any metadata file cannot be read, simply skip it.
nnpdf_data.cli.inspire module
INSPIRE API client to fetch bibtex entries.
nnpdf_data.cli.latex module
- class nnpdf_data.cli.latex.LatexDatasetRow(dataset_name: str, dataset_label: str, observable_description: str, experiment: str, process: str, nnpdf31_process: str, bib_entry: BibliographyEntry)[source]
Bases:
objectAll information needed to write a LaTeX row.
- bib_entry: BibliographyEntry
- property bib_key
- property bibtex_text
- nnpdf_data.cli.latex.build_latex_rows(datasets, group_by=None) dict[source]
Go over a list of datasets, use the inspire API to get their bibtex references and generate a list of LatexDatasetRow.
If group_by is given, the output is grouped by the given key. Otherwise, the dictionary contain just one key: unsorted
nnpdf_data.cli.script module
Entry point for the nnpdf-data CLI with the following options:
- nnpdf-data latex <runcard.yml>
Takes a NNPDF runcard and generate all biblatex entry in its
dataset_inputsfield together with latex tables.- nnpdf-data list <filter> [–yaml]
List of all datasets matching the glob filter <filter>