hepdata_converter.convert(input, output=None, options={})[source]

Converts a supported input_format (oldhepdata, yaml) to a supported output_format (csv, root, yaml, yoda, yoda1).

  • input (str) – location of input file for oldhepdata format or input directory for yaml format

  • output (str) – location of output directory to which converted files will be written

  • options (dict) – additional options such as input_format and output_format used for conversion


ValueError – raised if no input_format or output_format is specified