tricc-oo 1.4.22__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.
@@ -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
- node.activity.calculates.append(calc_node)
495
- set_last_version_false(calc_node, processed_nodes)
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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tricc-oo
3
- Version: 1.4.22
3
+ Version: 1.4.23
4
4
  Summary: Python library that converts CDSS L2 in L3
5
5
  Project-URL: Homepage, https://github.com/SwissTPH/tricc
6
6
  Project-URL: Issues, https://github.com/SwissTPH/tricc/issues
@@ -37,10 +37,10 @@ tricc_oo/strategies/output/xlsform_cdss.py,sha256=8oLlgS1Hr6IVvI0O71kIk5oIKXbt2l
37
37
  tricc_oo/strategies/output/xlsform_cht.py,sha256=SWu1GKI5PScSX420RiVVaCNCTINeTeLpCoX-zXQIhUE,19486
38
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=R9XWBskDAfkA0NbEo0ammkHsDASFgkthPDWOiOaLgbQ,97643
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.22.dist-info/METADATA,sha256=YgmVaHDil2-jcj0E13i-SxeAUx49qY4QvDEDr99E2sM,7878
44
- tricc_oo-1.4.22.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
45
- tricc_oo-1.4.22.dist-info/top_level.txt,sha256=NvbfMNAiy9m4b1unBsqpeOQWh4IgA1Xa33BtKA4abxk,15
46
- tricc_oo-1.4.22.dist-info/RECORD,,
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,,