hepi.resummino.run

Runs Resummino

Module Contents

Classes

ResumminoRunner

Attributes

default_resummino_runner

Default Resummino Runner to provide backward compatibility

run

set_path

get_path

class hepi.resummino.run.ResumminoRunner(path: str, in_dir: str = None, out_dir: str = None, pre=None)[source]

Bases: hepi.run.Runner

orders(self) List[hepi.input.Order][source]

List of supported Orders in this runner.

_check_path(self) bool[source]

Checks if the passed path is valid.

_check_input(self, p: hepi.Input, **kwargs) bool[source]
_is_valid(self, file: str, p: hepi.Input, d) bool[source]

Verifies that a file is a complete output.

Parameters
  • file (str) – File path to be parsed.

  • p (hepi.Input) – Onput parameters.

  • d (dict) – Param dictionary.

Returns

True if file could be parsed.

Return type

bool

_parse_file(self, file: str) hepi.results.Result[source]

Extracts results from an output file.

Parameters

file (str) – File path to be parsed.

Returns

If a value is not found in the file None is used.

Return type

Result

_prepare(self, p: hepi.Input, **kwargs) hepi.run.RunParam[source]
hepi.resummino.run.default_resummino_runner[source]

Default Resummino Runner to provide backward compatibility

hepi.resummino.run.run[source]
hepi.resummino.run.set_path[source]
hepi.resummino.run.get_path[source]