Skip to content

Commit

Permalink
Close openalea-incubator#29. However, NA appears due to conversion pr…
Browse files Browse the repository at this point in the history
…oblems R/Python and it has to be fixed.
  • Loading branch information
pradal committed May 18, 2022
1 parent 2886d2e commit 1678279
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/alinea/adel/newmtg.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,11 @@ def mtg_factory(parameters, metamer_factory=adel_metamer, leaf_sectors=1,
args.update({'Gd': 0.19})
args.update({'split': split})

if args.get('HS_final') < args.get('nff'):
_HS_final = args.get('HS_final')
_nff = int(args.get('nff'))
if _HS_final == 'NA':
pass
elif int(_HS_final) < _nff:
for what in (
'Ll', 'Lv', 'Lr', 'Lsen', 'L_shape', 'Lw_shape', 'Gl', 'Gv',
'Gsen', 'Gd', 'El', 'Ev', 'Esen', 'Ed'):
Expand Down

0 comments on commit 1678279

Please sign in to comment.