Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Persefone.jl
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Persefone
Persefone.jl
Commits
86669024
Commit
86669024
authored
2 years ago
by
xo30xoqa
Browse files
Options
Downloads
Patches
Plain Diff
Renamed "ecology" to "nature"
parent
d52262c4
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/Persephone.jl
+1
-1
1 addition, 1 deletion
src/Persephone.jl
src/core/input.jl
+2
-1
2 additions, 1 deletion
src/core/input.jl
src/nature/nature.jl
+0
-0
0 additions, 0 deletions
src/nature/nature.jl
src/parameters.toml
+1
-1
1 addition, 1 deletion
src/parameters.toml
with
4 additions
and
3 deletions
src/Persephone.jl
+
1
−
1
View file @
86669024
...
...
@@ -38,7 +38,7 @@ const paramfile = "src/parameters.toml"
include
(
"core/input.jl"
)
include
(
"core/output.jl"
)
include
(
"crop/crops.jl"
)
include
(
"
ecology/ecology
.jl"
)
include
(
"
nature/nature
.jl"
)
include
(
"farm/farm.jl"
)
include
(
"core/simulation.jl"
)
...
...
This diff is collapsed.
Click to expand it.
src/core/input.jl
+
2
−
1
View file @
86669024
...
...
@@ -22,7 +22,8 @@ let settings::Dict{String, Dict{String, Any}}
Return a configuration parameter from the global settings.
The argument should be in the form `"
<
domain
>.<
parameter
>
"`,
for example `param("
core
.
outdir
")`. Possible values for
<domain> are "
core
", "
ecology
", "
farm
", or "
crop
".
<domain> are "
core
", "
nature
", "
farm
", or "
crop
". For a full
list of parameters, see `src/parameters.toml`.
"""
global
function
param
(
domainparam
::
String
)
domain
,
paramname
=
split
(
domainparam
,
"."
)
...
...
This diff is collapsed.
Click to expand it.
src/
ecology/ecology
.jl
→
src/
nature/nature
.jl
+
0
−
0
View file @
86669024
File moved
This diff is collapsed.
Click to expand it.
src/parameters.toml
+
1
−
1
View file @
86669024
...
...
@@ -17,7 +17,7 @@ seed = 0 # seed value for the RNG (0 -> random value)
[farm]
[
ecology
]
[
nature
]
targetspecies
=
[]
# list of target species to simulate
[crop]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment