ArtefactIds
The identifiers of one step’s artefacts, fixed by name, not by creation order.
Usage
ArtefactIds(
step,
*,
tables=None,
figures=None,
findings=None,
)Each artefact a step can make is declared once with its number, so T3.2 stays the stationarity table on every rerun, whatever order the step builds its artefacts in and whichever of them it builds. Add a new artefact under a new number; never renumber one, or documents written earlier point at the wrong table.
Parameters
step: str | int-
A step name from STEP_NUMBERS (
"explore"), or a positive number for a step outside the built-in ones. tables: Mapping[str, int] | None = None-
Name to number, each number positive and used once per kind.
figures: Mapping[str, int] | None = None-
Name to number, each number positive and used once per kind.
findings: Mapping[str, int] | None = None- Name to number, each number positive and used once per kind.
Examples
>>> ids = ArtefactIds("explore", tables={"summary": 1, "stationarity": 2})
>>> ids.table("stationarity")‘T3.2’
Methods
| Name | Description |
|---|---|
| figure() |
The identifier of the figure declared as name: F<step>.<n>.
|
| finding() |
The identifier of the finding declared as name: S<step>.<n>.
|
| table() |
The identifier of the table declared as name: T<step>.<n>.
|
figure()
The identifier of the figure declared as name: F<step>.<n>.
Usage
figure(name)finding()
The identifier of the finding declared as name: S<step>.<n>.
Usage
finding(name)table()
The identifier of the table declared as name: T<step>.<n>.
Usage
table(name)