perun.io.text_report

Text report module.

Attributes

log

tableMetrics

regionMetrics

Functions

textReport(→ str)

Create text report from selected MULTI_RUN node.

sensors_table(→ str)

Create a text table from a list of sensor readings.

Module Contents

perun.io.text_report.log
perun.io.text_report.tableMetrics
perun.io.text_report.regionMetrics
perun.io.text_report.textReport(dataNode: perun.data_model.data.DataNode, mr_id: str) str

Create text report from selected MULTI_RUN node.

Parameters

dataNodeDataNode

Application data node

mr_idstr

Multirun id

Returns

str

Report string

perun.io.text_report.sensors_table(sensors: List[Dict[str, Any]], by_rank=True) str

Create a text table from a list of sensor readings.

Parameters

sensorsList[Dict[str, Any]]

List of sensor readings

Returns

str

Table string