tricc-oo 1.5.6__tar.gz → 1.5.8__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.5.6 → tricc_oo-1.5.8}/PKG-INFO +1 -1
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/pyproject.toml +1 -1
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/drawio_type_map.py +2 -2
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/models/calculate.py +1 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/output/xls_form.py +1 -1
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/visitors/tricc.py +1 -1
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo.egg-info/PKG-INFO +1 -1
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/README.md +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/setup.cfg +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tests/build.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tests/test_cql.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tests/to_ocl.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/codesystem_to_ocl.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/cql/cqlLexer.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/cql/cqlListener.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/cql/cqlParser.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/cql/cqlVisitor.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/cql_to_operation.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/datadictionnary.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/tricc_to_xls_form.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/utils.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/converters/xml_to_tricc.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/models/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/models/base.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/models/lang.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/models/ocl.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/models/ordered_set.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/models/tricc.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/parsers/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/parsers/xml.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/serializers/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/serializers/planuml.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/serializers/xls_form.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/input/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/input/base_input_strategy.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/input/drawio.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/output/base_output_strategy.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/output/spice.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/output/xlsform_cdss.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/output/xlsform_cht.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/strategies/output/xlsform_cht_hf.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/visitors/__init__.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/visitors/utils.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo/visitors/xform_pd.py +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo.egg-info/SOURCES.txt +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo.egg-info/dependency_links.txt +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo.egg-info/requires.txt +0 -0
- {tricc_oo-1.5.6 → tricc_oo-1.5.8}/tricc_oo.egg-info/top_level.txt +0 -0
|
@@ -202,13 +202,13 @@ TYPE_MAP = {
|
|
|
202
202
|
},
|
|
203
203
|
TriccNodeType.diagnosis: {
|
|
204
204
|
"objects": ["UserObject", "object"],
|
|
205
|
-
"attributes": ["save", "reference","priority"],
|
|
205
|
+
"attributes": ["save", "reference", "priority"],
|
|
206
206
|
"mandatory_attributes": [ "name", 'label'],
|
|
207
207
|
"model": TriccNodeDiagnosis
|
|
208
208
|
},
|
|
209
209
|
TriccNodeType.proposed_diagnosis: {
|
|
210
210
|
"objects": ["UserObject", "object"],
|
|
211
|
-
"attributes": ["save", "reference", "severity"],
|
|
211
|
+
"attributes": ["save", "reference", "severity", "priority"],
|
|
212
212
|
"mandatory_attributes": [ "name", 'label'],
|
|
213
213
|
"model": TriccNodeProposedDiagnosis
|
|
214
214
|
},
|
|
@@ -182,6 +182,7 @@ class TriccNodeActivityEnd(TriccNodeFakeCalculateBase):
|
|
|
182
182
|
class TriccNodeEnd(TriccNodeDisplayCalculateBase):
|
|
183
183
|
tricc_type: TriccNodeType = TriccNodeType.end
|
|
184
184
|
process: str = None
|
|
185
|
+
priority: int = 1000
|
|
185
186
|
def __init__(self, **data):
|
|
186
187
|
if data.get('name', None) is None:
|
|
187
188
|
data['name'] = 'tricc_end_' + data.get('process', '')
|
|
@@ -227,7 +227,6 @@ class XLSFormStrategy(BaseOutPutStrategy):
|
|
|
227
227
|
**self.get_kwargs()
|
|
228
228
|
)
|
|
229
229
|
# arrange empty group
|
|
230
|
-
|
|
231
230
|
walktrhough_tricc_node_processed_stached(
|
|
232
231
|
s_node,
|
|
233
232
|
self.generate_export,
|
|
@@ -237,6 +236,7 @@ class XLSFormStrategy(BaseOutPutStrategy):
|
|
|
237
236
|
groups=groups,
|
|
238
237
|
cur_group=s_node.group,
|
|
239
238
|
recursive=False,
|
|
239
|
+
process = process,
|
|
240
240
|
**self.get_kwargs()
|
|
241
241
|
)
|
|
242
242
|
# add end group if new node where added OR if the previous end group was removed
|
|
@@ -1416,7 +1416,7 @@ def reorder_node_list(list_node, group, processed_nodes):
|
|
|
1416
1416
|
|
|
1417
1417
|
# Define a lambda to assign numeric priorities
|
|
1418
1418
|
def filter_logic(l_node):
|
|
1419
|
-
priority = int(getattr(l_node, "priority", None) or 400) /
|
|
1419
|
+
priority = int(getattr(l_node, "priority", None) or 400) / 1000
|
|
1420
1420
|
if (
|
|
1421
1421
|
isinstance(l_node, TriccNodeWait)
|
|
1422
1422
|
and any(isinstance(rn, TriccNodeActivity) and any(sn.activity == rn for sn in list_node) for rn in l_node.reference)
|
|
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
|