tricc-oo 1.6.19__py3-none-any.whl → 1.6.20__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.
@@ -2230,6 +2230,17 @@ def get_prev_node_expression(node, processed_nodes, get_overall_exp=False, exclu
2230
2230
  negate=False,
2231
2231
  process=process,
2232
2232
  )
2233
+ elif not issubclass(prev_node.__class__, TriccNodeInputModel):
2234
+ # For non-input nodes, AND the activity relevance with the prev expression
2235
+ activity_relevance = get_node_expression(
2236
+ prev_node.activity,
2237
+ processed_nodes=processed_nodes,
2238
+ get_overall_exp=get_overall_exp,
2239
+ is_prev=True,
2240
+ negate=False,
2241
+ process=process,
2242
+ )
2243
+ act_sub = and_join([activity_relevance, act_sub])
2233
2244
  add_sub_expression(expression_inputs, act_sub)
2234
2245
  # avoid void is there is not conditions to avoid looping too much itme
2235
2246
  # expression_inputs = clean_or_list(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tricc-oo
3
- Version: 1.6.19
3
+ Version: 1.6.20
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
@@ -41,11 +41,11 @@ tricc_oo/strategies/output/xlsform_cdss.py,sha256=X00Lt5MzV8TX14dR4dFI1MqllI5S1e
41
41
  tricc_oo/strategies/output/xlsform_cht.py,sha256=lY1xIDxqYxl_lYNVCl3msXZL88No49yEVCpahcHGOn0,28675
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=ArvDNcuzIQNJpYyT1vB_B9Gxc2m5YAxg9ss_orpMqK0,111780
44
+ tricc_oo/visitors/tricc.py,sha256=osf8ITXc3dWzITqVzORtGigbdH-ov9kVC8ftp2aTjqg,112339
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.19.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
48
- tricc_oo-1.6.19.dist-info/METADATA,sha256=F67u0ot5zTwh4H5_-RJUCHXcEaGG3LITv2JsqH8woFE,8600
49
- tricc_oo-1.6.19.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
50
- tricc_oo-1.6.19.dist-info/top_level.txt,sha256=NvbfMNAiy9m4b1unBsqpeOQWh4IgA1Xa33BtKA4abxk,15
51
- tricc_oo-1.6.19.dist-info/RECORD,,
47
+ tricc_oo-1.6.20.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
48
+ tricc_oo-1.6.20.dist-info/METADATA,sha256=CUT-aJzYW3X-bYtuPitHPh0CfswbSpn8wiGmhVVMs9w,8600
49
+ tricc_oo-1.6.20.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
50
+ tricc_oo-1.6.20.dist-info/top_level.txt,sha256=NvbfMNAiy9m4b1unBsqpeOQWh4IgA1Xa33BtKA4abxk,15
51
+ tricc_oo-1.6.20.dist-info/RECORD,,