-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JOSS paper template, github actions and update openalea dependenc…
…ies (#10)
- Loading branch information
Showing
10 changed files
with
140 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Draft JOOS PDF | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
paper: | ||
runs-on: ubuntu-latest | ||
name: Paper Draft | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build draft PDF | ||
uses: openjournals/openjournals-draft-action@master | ||
with: | ||
journal: joss | ||
paper-path: paper/paper.md | ||
- name: Upload | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: paper | ||
path: paper/paper.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
generate-run-shell: true | ||
environment-file: binder/environment.yml | ||
- name: Test with pytest | ||
run: | | ||
pytest --disable-pytest-warnings | ||
shell: micromamba-shell {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@Article{Costes:2008, | ||
author={Costes, Evelyne | ||
and Smith, Colin | ||
and Renton, Michael | ||
and Gu{\'e}don, Yann | ||
and Prusinkiewicz, Przemyslaw | ||
and Godin, Christophe}, | ||
title={MAppleT: simulation of apple tree development using mixed stochastic and biomechanical models}, | ||
journal={Functional Plant Biology}, | ||
year={2008}, | ||
volume={35}, | ||
number={10}, | ||
pages={936-950}, | ||
keywords={biomechanics, functional--structural plant model, Malus{\thinspace}{\texttimes}{\thinspace}domestica, Markov model, tree simulation.}, | ||
abstract={Construction of tree architectural databases over years is time consuming and cannot easily capture event dynamics, especially when both tree topology and geometry are considered. The present project aimed to bring together models of topology and geometry in a single simulation such that the architecture of an apple tree may emerge from process interactions. This integration was performed using L-systems. A mixed approach was developed based on stochastic models to simulate plant topology and mechanistic model for the geometry. The succession of growth units (GUs) along axes and their branching structure were jointly modelled by a hierarchical hidden Markov model. A biomechanical model, derived from previous studies, was used to calculate stem form at the metamer scale, taking into account the intra-year dynamics of primary, secondary and fruit growth. Outputs consist of 3-D mock-ups -- geometric models representing the progression of tree form over time. To asses these models, a sensitivity analysis was performed and descriptors were compared between simulated and digitised trees, including the total number of GUs in the entire tree, descriptors of shoot geometry (basal diameter, length), and descriptors of axis geometry (inclination, curvature). In conclusion, despite some limitations, MAppleT constitutes a useful tool for simulating development of apple trees in interaction with gravity.}, | ||
doi={10.1071/FP08081}, | ||
url={https://doi.org/10.1071/FP08081} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: 'VMAppleT: Apple Tree simulations based on StocaTree' | ||
tags: | ||
- Python | ||
- biology | ||
- FSPM | ||
authors: | ||
- name: Frédéric Boudon | ||
affiliation: 1 | ||
- name: Jan Vaillant | ||
affiliation: 3 | ||
- name: Evelyne Costes | ||
affiliation: 2 | ||
affiliations: | ||
- name: CIRAD, UMR AGAP Institut, F-34398 Montpellier, France | ||
index: 1 | ||
- name: French National Institute for Agriculture, Food, and Environment (INRAE) | ||
index: 2 | ||
- name: Independent Researcher, France | ||
index: 3 | ||
date: 2 September 2023 | ||
bibliography: paper.bib | ||
--- | ||
|
||
# Summary | ||
|
||
VMAppleT is a greatly refactored, modernized and updated implementation of StocaTree/MappleT [@Costes:2008] with | ||
support for running simulations in Jupyter notebooks to improve accessibility, extensibility and customization of the model. | ||
|
||
|
||
# Acknowledgements | ||
|
||
|
||
# References |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters