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

Feature/animal module - Energy to Mass Conversion #338

Merged
merged 14 commits into from
Nov 16, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fixed small indexing bug.
TaranRallings committed Sep 22, 2023
commit 3d176d2880ec74fee0cbfd94fbb832c1a041bc2b
2 changes: 1 addition & 1 deletion virtual_rainforest/models/animals/animal_model.py
Original file line number Diff line number Diff line change
@@ -182,7 +182,7 @@ def update(self, time_index: int) -> None:
community.migrate_community()
community.birth_community()
community.metabolize_community(
float(self.data["air_temperature"][0][community].values),
float(self.data["air_temperature"][0][community.community_key].values),
self.update_interval_timedelta,
)
community.inflict_natural_mortality_community(