tricc-oo 1.4.13__tar.gz → 1.4.14__tar.gz
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-1.4.13 → tricc_oo-1.4.14}/PKG-INFO +1 -1
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/pyproject.toml +1 -1
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/input/drawio.py +1 -1
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/visitors/tricc.py +12 -6
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo.egg-info/PKG-INFO +1 -1
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/LICENSE +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/README.md +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/setup.cfg +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tests/build.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tests/test_cql.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tests/to_ocl.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/codesystem_to_ocl.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/cql/cqlLexer.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/cql/cqlListener.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/cql/cqlParser.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/cql/cqlVisitor.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/cql_to_operation.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/datadictionnary.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/drawio_type_map.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/tricc_to_xls_form.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/utils.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/converters/xml_to_tricc.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/models/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/models/base.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/models/calculate.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/models/lang.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/models/ocl.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/models/ordered_set.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/models/tricc.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/parsers/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/parsers/xml.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/serializers/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/serializers/planuml.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/serializers/xls_form.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/input/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/input/base_input_strategy.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/output/base_output_strategy.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/output/spice.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/output/xls_form.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/output/xlsform_cdss.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/output/xlsform_cht.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/strategies/output/xlsform_cht_hf.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/visitors/__init__.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/visitors/utils.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo/visitors/xform_pd.py +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo.egg-info/SOURCES.txt +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo.egg-info/dependency_links.txt +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo.egg-info/requires.txt +0 -0
- {tricc_oo-1.4.13 → tricc_oo-1.4.14}/tricc_oo.egg-info/top_level.txt +0 -0
|
@@ -43,7 +43,7 @@ class DrawioStrategy(BaseInputStrategy):
|
|
|
43
43
|
calculates=calculates,
|
|
44
44
|
recursive=False,
|
|
45
45
|
codesystems=project.code_systems,
|
|
46
|
-
process=start_page.root.process
|
|
46
|
+
process=[start_page.root.process]
|
|
47
47
|
)
|
|
48
48
|
|
|
49
49
|
logger.info("# check if all edges (arrow) where used")
|
|
@@ -803,7 +803,10 @@ def walktrhough_tricc_node_processed_stached(node, callback, processed_nodes, st
|
|
|
803
803
|
reorder_node_list(stashed_nodes, node.group, processed_nodes)
|
|
804
804
|
if isinstance(node, (TriccNodeActivityStart, TriccNodeMainStart)):
|
|
805
805
|
if getattr(node, 'process', None):
|
|
806
|
-
process
|
|
806
|
+
if process is None:
|
|
807
|
+
process = [node.process]
|
|
808
|
+
else:
|
|
809
|
+
process[0] = node.process
|
|
807
810
|
if recursive:
|
|
808
811
|
for gp in node.activity.groups.values():
|
|
809
812
|
walktrhough_tricc_node_processed_stached(
|
|
@@ -849,7 +852,10 @@ def walktrhough_tricc_node_processed_stached(node, callback, processed_nodes, st
|
|
|
849
852
|
if node.root is not None:
|
|
850
853
|
node.root.path_len = max(path_len, node.root.path_len)
|
|
851
854
|
if getattr(node.root, 'process', None):
|
|
852
|
-
process
|
|
855
|
+
if process is None:
|
|
856
|
+
process = [node.root.process]
|
|
857
|
+
else:
|
|
858
|
+
process[0] = node.root.process
|
|
853
859
|
if recursive:
|
|
854
860
|
walktrhough_tricc_node_processed_stached(node.root, callback, processed_nodes, stashed_nodes, path_len,
|
|
855
861
|
recursive, warn = warn,node_path = node_path.copy(),**kwargs)
|
|
@@ -953,7 +959,7 @@ def get_data_for_log(node):
|
|
|
953
959
|
def stashed_node_func(node, callback, recursive=False, **kwargs):
|
|
954
960
|
processed_nodes = kwargs.pop('processed_nodes', OrderedSet())
|
|
955
961
|
stashed_nodes = kwargs.pop('stashed_nodes', OrderedSet())
|
|
956
|
-
process = kwargs.pop('process', 'main')
|
|
962
|
+
process = kwargs.pop('process', ['main'])
|
|
957
963
|
path_len = 0
|
|
958
964
|
|
|
959
965
|
walktrhough_tricc_node_processed_stached(
|
|
@@ -1582,9 +1588,9 @@ def get_node_expression( in_node, processed_nodes, is_calculate=False, is_prev=F
|
|
|
1582
1588
|
f_end_expression = get_end_expression(processed_nodes)
|
|
1583
1589
|
if f_end_expression:
|
|
1584
1590
|
end_expressions.append(f_end_expression)
|
|
1585
|
-
if process in PROCESSES:
|
|
1586
|
-
for p in PROCESSES[PROCESSES.index(
|
|
1587
|
-
p_end_expression = get_end_expression(processed_nodes,
|
|
1591
|
+
if process[0] in PROCESSES:
|
|
1592
|
+
for p in PROCESSES[PROCESSES.index(process[0])+1:]:
|
|
1593
|
+
p_end_expression = get_end_expression(processed_nodes, p)
|
|
1588
1594
|
if p_end_expression:
|
|
1589
1595
|
end_expressions.append(p_end_expression)
|
|
1590
1596
|
if node.applicability:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|