armi.bookkeeping.report.data module

class armi.bookkeeping.report.data.Report(title, description)[source]

Bases: object

Storage for data separated out for a particular kind of user

groupsOrderFirst = [<armi.bookkeeping.report.data.Image object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Image object>]
componentWellGroups = [<armi.bookkeeping.report.data.Image object>, <armi.bookkeeping.report.data.Image object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>, <armi.bookkeeping.report.data.Table object>]
addToReport(group, name, value)[source]

Inserts the datum into the correct group of the report

writeHTML()[source]

Renders this report as a standalone HTML file

writeGroupsHTML(f)[source]

A helper method to the writeHTML method process

Composes the group html content, intended for use in the midst of the html document generation

class armi.bookkeeping.report.data.Group(title, description='')[source]

Bases: object

Abstract class, when extended is used for storage for data within a report

Only accepts things wrapped in the ReportDatum class

writeHTML(f)[source]

Writes the HTML information to file.

class armi.bookkeeping.report.data.Table(title, description='', header=None)[source]

Bases: armi.bookkeeping.report.data.Group

writeHTML(f)[source]

Writes the HTML information to file.

class armi.bookkeeping.report.data.Image(title, description='')[source]

Bases: armi.bookkeeping.report.data.Group

count = 0
writeHTML(f)[source]

Writes the HTML information to file.