tricc-oo 1.4.21__py3-none-any.whl → 1.4.23__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 +5 -1
- tricc_oo/strategies/output/xlsform_cht.py +1 -1
- tricc_oo/strategies/output/xlsform_cht_hf.py +1 -1
- tricc_oo/visitors/tricc.py +3 -2
- {tricc_oo-1.4.21.dist-info → tricc_oo-1.4.23.dist-info}/METADATA +1 -1
- {tricc_oo-1.4.21.dist-info → tricc_oo-1.4.23.dist-info}/RECORD +8 -8
- {tricc_oo-1.4.21.dist-info → tricc_oo-1.4.23.dist-info}/WHEEL +0 -0
- {tricc_oo-1.4.21.dist-info → tricc_oo-1.4.23.dist-info}/top_level.txt +0 -0
|
@@ -242,6 +242,10 @@ def process_edges(diagram, media_path, activity, nodes):
|
|
|
242
242
|
"not management found",
|
|
243
243
|
)
|
|
244
244
|
)
|
|
245
|
+
elif edge.source in nodes and isinstance(nodes[edge.source], TriccNodeRhombus):
|
|
246
|
+
logger.critical(
|
|
247
|
+
"rhombus {} node with labelless edges".format(nodes[edge.source].get_name())
|
|
248
|
+
)
|
|
245
249
|
if not end_found:
|
|
246
250
|
fake_end = TriccNodeActivityEnd(id=generate_id(f"e{activity.name}"), activity=activity, group=activity)
|
|
247
251
|
last_nodes = [
|
|
@@ -976,7 +980,7 @@ def process_exclusive_edge(edge, nodes):
|
|
|
976
980
|
|
|
977
981
|
|
|
978
982
|
def process_yesno_edge(edge, nodes):
|
|
979
|
-
if edge.value
|
|
983
|
+
if not edge.value:
|
|
980
984
|
logger.critical(
|
|
981
985
|
"yesNo {} node with labelless edges".format(nodes[edge.source].get_name())
|
|
982
986
|
)
|
|
@@ -7,7 +7,7 @@ import pandas as pd
|
|
|
7
7
|
|
|
8
8
|
from tricc_oo.models.lang import SingletonLangClass
|
|
9
9
|
from tricc_oo.models.calculate import TriccNodeEnd
|
|
10
|
-
from tricc_oo.serializers.xls_form import SURVEY_MAP, get_input_line
|
|
10
|
+
from tricc_oo.serializers.xls_form import SURVEY_MAP, get_input_line, get_input_calc_line
|
|
11
11
|
from tricc_oo.strategies.output.xlsform_cdss import XLSFormCDSSStrategy
|
|
12
12
|
from tricc_oo.converters.tricc_to_xls_form import get_export_name
|
|
13
13
|
from tricc_oo.converters.utils import clean_name, remove_html
|
tricc_oo/visitors/tricc.py
CHANGED
|
@@ -491,8 +491,9 @@ def generate_calculates(node,calculates, used_calculates,processed_nodes):
|
|
|
491
491
|
last=True
|
|
492
492
|
)
|
|
493
493
|
node.activity.nodes[calc_node.id]=calc_node
|
|
494
|
-
|
|
495
|
-
|
|
494
|
+
last_version = set_last_version_false(calc_node, processed_nodes)
|
|
495
|
+
if last_version:
|
|
496
|
+
get_version_inheritance(node, last_version, processed_nodes)
|
|
496
497
|
processed_nodes.add(calc_node)
|
|
497
498
|
logger.debug("generate_save_calculate:{}:{} as {}".format(calc_node.tricc_type, node.name if hasattr(node,'name') else node.id, calculate_name))
|
|
498
499
|
if isinstance(node, TriccNodeSelectYesNo):
|
|
@@ -9,7 +9,7 @@ tricc_oo/converters/datadictionnary.py,sha256=WWKcTtKLfc4aduHcDBhr4JSfU2NqRMaslw
|
|
|
9
9
|
tricc_oo/converters/drawio_type_map.py,sha256=6ZcnQMtBU1dhf_NP_s0iX1DvRf0qS7-3UAe_WAPFVoQ,7027
|
|
10
10
|
tricc_oo/converters/tricc_to_xls_form.py,sha256=TKClvHSi07AxncjS8H_d17eXQIcLX4lNZr2fSj62p4Y,2129
|
|
11
11
|
tricc_oo/converters/utils.py,sha256=UyndDORsDbRV5-gYW-yInK5ztjtYdeCw6K-mrYr1Emk,1688
|
|
12
|
-
tricc_oo/converters/xml_to_tricc.py,sha256=
|
|
12
|
+
tricc_oo/converters/xml_to_tricc.py,sha256=IO6jL1ljhrkWnPTe5EsQCfJ4wUoYitLH2P7TIJm4A9I,37457
|
|
13
13
|
tricc_oo/converters/cql/cqlLexer.py,sha256=t0-QvDv5kxCiBZJ9SfDumFOgnRSry_HJpakBZV224Ig,49126
|
|
14
14
|
tricc_oo/converters/cql/cqlListener.py,sha256=ketvj7XvO7t047S6A3_gTPvp2MlYk1bojmkl10v5E6Y,57523
|
|
15
15
|
tricc_oo/converters/cql/cqlParser.py,sha256=hIUdR907WX24P2Jlrxk-H0IT94n51yh_ZsCmwQhnFas,414730
|
|
@@ -34,13 +34,13 @@ tricc_oo/strategies/output/base_output_strategy.py,sha256=WiJwqm4g_x-rbksrjoE0AB
|
|
|
34
34
|
tricc_oo/strategies/output/spice.py,sha256=s_COahyYCoc4Xv5TGh_AW9evDOW6GOex0Xwa_JWeLsI,11280
|
|
35
35
|
tricc_oo/strategies/output/xls_form.py,sha256=dsKbAdzjqgJGXNWrMuqzNAsTNO9EXh3g-QJNegz-gpY,30681
|
|
36
36
|
tricc_oo/strategies/output/xlsform_cdss.py,sha256=8oLlgS1Hr6IVvI0O71kIk5oIKXbt2lPVc1SZIjzcSTc,9452
|
|
37
|
-
tricc_oo/strategies/output/xlsform_cht.py,sha256=
|
|
38
|
-
tricc_oo/strategies/output/xlsform_cht_hf.py,sha256=
|
|
37
|
+
tricc_oo/strategies/output/xlsform_cht.py,sha256=SWu1GKI5PScSX420RiVVaCNCTINeTeLpCoX-zXQIhUE,19486
|
|
38
|
+
tricc_oo/strategies/output/xlsform_cht_hf.py,sha256=0D_H68a2S7oLKJENEePaRGIocrRIF45BofHlLOtGsKo,2206
|
|
39
39
|
tricc_oo/visitors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
|
-
tricc_oo/visitors/tricc.py,sha256=
|
|
40
|
+
tricc_oo/visitors/tricc.py,sha256=gv82GPzNUnwQ1t4Xl8IivdEPq5lexcQIsaJH60hXUtA,97709
|
|
41
41
|
tricc_oo/visitors/utils.py,sha256=Gol4JNozPEd30Q1l8IPIPhx5fqVyy9R81GofGVebgD8,484
|
|
42
42
|
tricc_oo/visitors/xform_pd.py,sha256=H8x-72EdyT_-QgHGQN-ZAe-wc7tLtJGCM9waA64mz3M,9424
|
|
43
|
-
tricc_oo-1.4.
|
|
44
|
-
tricc_oo-1.4.
|
|
45
|
-
tricc_oo-1.4.
|
|
46
|
-
tricc_oo-1.4.
|
|
43
|
+
tricc_oo-1.4.23.dist-info/METADATA,sha256=BKDmuLmPiT0SG-LY1dWtdlXoNLFSMCS3a9UCYlvvqeQ,7878
|
|
44
|
+
tricc_oo-1.4.23.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
45
|
+
tricc_oo-1.4.23.dist-info/top_level.txt,sha256=NvbfMNAiy9m4b1unBsqpeOQWh4IgA1Xa33BtKA4abxk,15
|
|
46
|
+
tricc_oo-1.4.23.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|