Functional coverage tree: Difference between revisions
→Python: Functional: Comments and space for legibility
(→Python: Functional: Comments and space for legibility) |
|||
Line 1,411:
columnTitles = init(columnNames(delimiter)(reportLines[0]))
# SERIALISATION OF DECORATED PARSE TREE
print(titleLine(delimiter)(columnWidths)(
columnTitles + ['share of residue']
))
print(indentedLinesFromTree(' ', tabulation(columnWidths))(
# TWO COMPUTATIONS BY TRAVERSAL
withResidueShares(1.0)(
foldTree(weightedTreeAverage)(
# TREE FROM PARSE OF OUTLINE TEXT
fmapTree(
recordFromKeysDefaultsDelimiterAndLine(columnTitles)(
|