Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

120 misc minor updates #121

Merged
merged 4 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/exchange.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ where
:math:`\Delta H_d \ [kJ \ {mol}_{CO_2}^{-1}]` is deactivation energy of the Arrhenius functions,
:math:`\Delta S \ [kJ \ K^{-1} \ {mol}_{CO_2}^{-1}]` is entropy term,
:math:`R \ [kJ \ K^{-1} \ {mol}^{-1}]` is the ideal gas constant, and
:math:`T_{leaf} \ [^\circ C]` is leaf temperature.
:math:`T_{leaf} \ [K]` is leaf temperature.


Finally, for :math:`\Gamma`, :math:`K_c`, and :math:`K_o` temperature dependency writes:
Expand Down
2 changes: 1 addition & 1 deletion src/hydroshoot/architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def vine_mtg(file_path):
except:
vid_diam = None

plant_id = int(plant_id)
plant_id = str(plant_id)
if trunk_id in plant_base_identifier:
baseXYZ = vid_position
trunk_id = 0
Expand Down
2 changes: 1 addition & 1 deletion src/hydroshoot/irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def irradiance_distribution(meteo, geo_location, irradiance_unit,
if rotation_angle != 0.:
v_energy = [vec[0] for vec in source_cum]
v_coord = [tuple(vector_rotation(vec[1], (0., 0., 1.), deg2rad(rotation_angle))) for vec in source_cum]
source_cum = zip(v_energy, v_coord)
source_cum = list(zip(v_energy, v_coord))

# Add Sun to an existing pgl.scene
if sun2scene is not None:
Expand Down
2 changes: 1 addition & 1 deletion src/hydroshoot/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

major = 5
minor = 2
post = 1
post = 2

__version__ = ".".join([str(s) for s in (major, minor, post)])
# #}