From 4ab479077b935cf46a5ffaf2452b9f8789d35a91 Mon Sep 17 00:00:00 2001 From: Evgeny Metelkin Date: Tue, 30 Jan 2024 12:42:04 +0200 Subject: [PATCH] display Sizes without units --- src/templates/summary.md.njk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/templates/summary.md.njk b/src/templates/summary.md.njk index 246e13fc..1b67fe66 100644 --- a/src/templates/summary.md.njk +++ b/src/templates/summary.md.njk @@ -60,4 +60,9 @@ Switcher: {% for x in img.orphanSwitchers %}{{ x }}, {% endfor %}{{ '-' if not i ### Lost (absent) components {% for x in img.lostComponents %}{{ x }}, {% endfor %}{{ '-' if not img.lostComponents | length }} + +### Const, Record and TimeScale with no units +{% set noUnits = ns.selectByInstanceOf('_Size') | filter2('units') %} +{% for size in noUnits %}{{ size.id }}, {% endfor %}{{ '-' if not noUnits | length }} + {% endfor %}