tricc-oo 1.6.14__py3-none-any.whl → 1.6.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tricc_oo/converters/xml_to_tricc.py +6 -2
- tricc_oo/visitors/tricc.py +7 -0
- {tricc_oo-1.6.14.dist-info → tricc_oo-1.6.15.dist-info}/METADATA +1 -1
- {tricc_oo-1.6.14.dist-info → tricc_oo-1.6.15.dist-info}/RECORD +7 -7
- {tricc_oo-1.6.14.dist-info → tricc_oo-1.6.15.dist-info}/WHEEL +1 -1
- {tricc_oo-1.6.14.dist-info → tricc_oo-1.6.15.dist-info}/licenses/LICENSE +0 -0
- {tricc_oo-1.6.14.dist-info → tricc_oo-1.6.15.dist-info}/top_level.txt +0 -0
|
@@ -483,7 +483,7 @@ def set_additional_attributes(attribute_names, elm, node):
|
|
|
483
483
|
# input expression can add a condition to either relevance (display) or calculate expression
|
|
484
484
|
if attributename == "expression_inputs":
|
|
485
485
|
attribute = [attribute]
|
|
486
|
-
elif attributename
|
|
486
|
+
elif attributename in ["priority", "instance"]:
|
|
487
487
|
attribute = int(attribute)
|
|
488
488
|
else:
|
|
489
489
|
attribute
|
|
@@ -612,7 +612,11 @@ def inject_bridge_path(node, nodes):
|
|
|
612
612
|
calc = TriccNodeDisplayBridge(**data)
|
|
613
613
|
else:
|
|
614
614
|
calc = TriccNodeBridge(**data)
|
|
615
|
-
|
|
615
|
+
if node:
|
|
616
|
+
priority = getattr(node, 'priority', None)
|
|
617
|
+
if priority:
|
|
618
|
+
calc.priority = priority
|
|
619
|
+
|
|
616
620
|
for e in node.activity.edges:
|
|
617
621
|
if e.target == node.id:
|
|
618
622
|
if e.source in node.activity.nodes and len(node.activity.nodes[e.source].next_nodes):
|
tricc_oo/visitors/tricc.py
CHANGED
|
@@ -405,6 +405,11 @@ def get_bridge_path(prev_nodes, node=None, edge_only=False):
|
|
|
405
405
|
calc = TriccNodeDisplayBridge(**data)
|
|
406
406
|
else:
|
|
407
407
|
calc = TriccNodeBridge(**data)
|
|
408
|
+
if node:
|
|
409
|
+
priority = getattr(node, 'priority', None)
|
|
410
|
+
if priority:
|
|
411
|
+
calc.priority = priority
|
|
412
|
+
|
|
408
413
|
return calc
|
|
409
414
|
|
|
410
415
|
|
|
@@ -1753,6 +1758,8 @@ def reorder_node_list(node_list, group, processed_nodes):
|
|
|
1753
1758
|
return MAP_PRIORITIES[node.id]
|
|
1754
1759
|
if isinstance(node, (TriccNodeActivityStart, TriccNodeMainStart)):
|
|
1755
1760
|
return get_priority(node.activity)
|
|
1761
|
+
if isinstance(node, (TriccNodeSelectOption)):
|
|
1762
|
+
return get_priority(node.select)
|
|
1756
1763
|
|
|
1757
1764
|
# Cache attributes to avoid repeated getattr calls
|
|
1758
1765
|
priority = int(getattr(node, "priority", 0) or 0)
|
|
@@ -9,7 +9,7 @@ tricc_oo/converters/datadictionnary.py,sha256=JasqlLKiZzKdidsA1xc2SJ_Af1Xr6A3sKf
|
|
|
9
9
|
tricc_oo/converters/drawio_type_map.py,sha256=Zp8J9iHNSJkIVrmRSM0_d4vA1X8wFPLKb8nCMPUMXKU,9114
|
|
10
10
|
tricc_oo/converters/tricc_to_xls_form.py,sha256=39hwWgYNitGE-AuKtjUwNLz39tEpwc7nd9gT_gw5wjc,3842
|
|
11
11
|
tricc_oo/converters/utils.py,sha256=JZrtrvvOfXwdkw49pKauzinOcauWwsy-CVcw36TjyLo,1684
|
|
12
|
-
tricc_oo/converters/xml_to_tricc.py,sha256=
|
|
12
|
+
tricc_oo/converters/xml_to_tricc.py,sha256=V1lKsDbpFwftisOctdiU1qC9fRy07me7A5nb_yr8ud0,40536
|
|
13
13
|
tricc_oo/converters/cql/cqlLexer.py,sha256=8HArbRphcrpnAG4uogJ2rHv4tc1WLzjN0B1uFeYILAc,49141
|
|
14
14
|
tricc_oo/converters/cql/cqlListener.py,sha256=fA7-8DcS2Q69ckwjdg57-OfFHBxjTZFdoSKrtw7Hffc,57538
|
|
15
15
|
tricc_oo/converters/cql/cqlParser.py,sha256=x3KdrwX9nwENSEJ5Ex7_l5NMnu3kWBO0uLdYu4moTq0,414745
|
|
@@ -41,11 +41,11 @@ tricc_oo/strategies/output/xlsform_cdss.py,sha256=X00Lt5MzV8TX14dR4dFI1MqllI5S1e
|
|
|
41
41
|
tricc_oo/strategies/output/xlsform_cht.py,sha256=Zy8aggR1sTBP0b33RGbfUpk8pRppI1LGQEif4E1l49A,28523
|
|
42
42
|
tricc_oo/strategies/output/xlsform_cht_hf.py,sha256=xm6SKirV3nMZvM2w54_zJcXAeAgAkq-EEqGEjnOWv6c,988
|
|
43
43
|
tricc_oo/visitors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
|
-
tricc_oo/visitors/tricc.py,sha256=
|
|
44
|
+
tricc_oo/visitors/tricc.py,sha256=3MFP0V2dOj2S1Kif_EudLHrokiALZYLdrnFICAhecQQ,111149
|
|
45
45
|
tricc_oo/visitors/utils.py,sha256=j83aAq5s5atXi3OC0jc_uJd54a8XrHHmizeeEbWZQJg,421
|
|
46
46
|
tricc_oo/visitors/xform_pd.py,sha256=ryAnI3V9x3eTmJ2LNsUZfvl0_yfCqo6oBgeSu-WPqaE,9613
|
|
47
|
-
tricc_oo-1.6.
|
|
48
|
-
tricc_oo-1.6.
|
|
49
|
-
tricc_oo-1.6.
|
|
50
|
-
tricc_oo-1.6.
|
|
51
|
-
tricc_oo-1.6.
|
|
47
|
+
tricc_oo-1.6.15.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
|
|
48
|
+
tricc_oo-1.6.15.dist-info/METADATA,sha256=iVmzkCD26vre8c3sd4HGErVgAQrWbEzsHP8fwzLr1ds,8600
|
|
49
|
+
tricc_oo-1.6.15.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
50
|
+
tricc_oo-1.6.15.dist-info/top_level.txt,sha256=NvbfMNAiy9m4b1unBsqpeOQWh4IgA1Xa33BtKA4abxk,15
|
|
51
|
+
tricc_oo-1.6.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|