armi.bookkeeping package¶
The bookkeeping package handles data persistence, reporting, and some debugging.
-
class
armi.bookkeeping.BookkeepingPlugin[source]¶ Bases:
armi.plugins.ArmiPlugin-
static
exposeInterfaces(cs)[source]¶ Function for exposing interface(s) to other code.
- Returns
Tuples containing:
The insertion order to use when building an interface stack,
an implementation of the Interface class
a dictionary of kwargs to pass to an Operator when adding an instance of the interface class
If no Interfaces should be active given the passed case settings, this should return an empty list.
- Return type
list
-
static
defineCaseDependencies(case, suite)[source]¶ Function for defining case dependencies.
Some Cases depend on the results of other
Case``s in the same ``CaseSuite. Which dependencies exist, and how they are discovered depends entirely on the type of analysis and active interfaces, etc. This function allows a plugin to inspect settings and declare dependencies between the passedcaseand any other cases in the passedsuite.- Parameters
- Returns
dependencies – This should return a set containing
Caseobjects that are considered dependencies of the passedcase. They should be members of the passedsuite.- Return type
set of Cases
-
static