You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input management can/should be clarfied, to avoid mixing parameterisation and code in lpy file and to avoid multiple decalration of parameters / register_parameters dict (see eg #22#21#20)
One way to go could be to define default parameters in a specific module and use it as default params once for all in lpy. For cultivar specific conditions may be one other module can handle such data base
The text was updated successfully, but these errors were encountered:
def params():
a = 0 # first param
b = 0 # second param
c = [] # 3rd param
d = locals().copy()
return d
parameters = params()
for p_name in parameters:
globals().setdefaults(p_name, parameters[p_name])
The input management can/should be clarfied, to avoid mixing parameterisation and code in lpy file and to avoid multiple decalration of parameters / register_parameters dict (see eg #22 #21 #20)
One way to go could be to define default parameters in a specific module and use it as default params once for all in lpy. For cultivar specific conditions may be one other module can handle such data base
The text was updated successfully, but these errors were encountered: