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
fa324118
Commit
fa324118
authored
2 years ago
by
xo30xoqa
Browse files
Options
Downloads
Patches
Plain Diff
Removed quietmode again, is unnecessary
parent
833d0e8b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
data/config.toml
+0
-1
0 additions, 1 deletion
data/config.toml
src/core/input.jl
+0
-8
0 additions, 8 deletions
src/core/input.jl
src/parameters.toml
+0
-1
0 additions, 1 deletion
src/parameters.toml
with
0 additions
and
10 deletions
data/config.toml
+
0
−
1
View file @
fa324118
...
@@ -10,7 +10,6 @@ mapfile = "data/region_hohenlohe.tif" # location of the map file
...
@@ -10,7 +10,6 @@ mapfile = "data/region_hohenlohe.tif" # location of the map file
outdir
=
"results"
# location and name of the output folder
outdir
=
"results"
# location and name of the output folder
logfile
=
"simulation.log"
# name of the log file
logfile
=
"simulation.log"
# name of the log file
loglevel
=
"debug"
# verbosity level: "debug", "normal", "errors"
loglevel
=
"debug"
# verbosity level: "debug", "normal", "errors"
quietmode
=
false
# if true, only print log statements to file, not the screen
runtime
=
5
# duration in days that the simulation will run for
runtime
=
5
# duration in days that the simulation will run for
seed
=
0
# seed value for the RNG (0 -> random value)
seed
=
0
# seed value for the RNG (0 -> random value)
...
...
This diff is collapsed.
Click to expand it.
src/core/input.jl
+
0
−
8
View file @
fa324118
...
@@ -74,11 +74,6 @@ function getsettings(configfile::String)
...
@@ -74,11 +74,6 @@ function getsettings(configfile::String)
outdir
=
defaultoutdir
*
"_"
*
string
(
Dates
.
today
())
*
"_s"
*
string
(
settings
[
"core"
][
"seed"
])
outdir
=
defaultoutdir
*
"_"
*
string
(
Dates
.
today
())
*
"_s"
*
string
(
settings
[
"core"
][
"seed"
])
settings
[
"core"
][
"outdir"
]
=
outdir
settings
[
"core"
][
"outdir"
]
=
outdir
end
end
# Flags are automatically set to false by ArgParse if they are not given -
# this should not override a given config file value
if
!
commandline
[
"quietmode"
]
&&
!
isnothing
(
configs
)
&&
"quietmode"
in
keys
(
configs
[
"core"
])
&&
configs
[
"core"
][
"quietmode"
]
settings
[
"core"
][
"quietmode"
]
=
true
end
settings
settings
end
end
...
@@ -109,9 +104,6 @@ function parsecommandline()
...
@@ -109,9 +104,6 @@ function parsecommandline()
help
=
"verbosity:
\"
debug
\"
,
\"
normal
\"
, or
\"
errors
\"
"
help
=
"verbosity:
\"
debug
\"
,
\"
normal
\"
, or
\"
errors
\"
"
arg_type
=
String
arg_type
=
String
required
=
false
required
=
false
"--quietmode"
,
"-q"
help
=
"don't print output to screen"
action
=
:
store_true
"--runtime"
,
"-r"
"--runtime"
,
"-r"
help
=
"duration in days that the simulation will run"
help
=
"duration in days that the simulation will run"
arg_type
=
Int
arg_type
=
Int
...
...
This diff is collapsed.
Click to expand it.
src/parameters.toml
+
0
−
1
View file @
fa324118
...
@@ -12,7 +12,6 @@ mapfile = "data/region_jena.tif" # location of the map file
...
@@ -12,7 +12,6 @@ mapfile = "data/region_jena.tif" # location of the map file
outdir
=
"results"
# location and name of the output folder
outdir
=
"results"
# location and name of the output folder
logfile
=
"simulation.log"
# name of the log file
logfile
=
"simulation.log"
# name of the log file
loglevel
=
"debug"
# verbosity level: "debug", "normal", "errors"
loglevel
=
"debug"
# verbosity level: "debug", "normal", "errors"
quietmode
=
false
# if true, only print log statements to file, not the screen
runtime
=
10
# duration in days that the simulation will run for
runtime
=
10
# duration in days that the simulation will run for
seed
=
0
# seed value for the RNG (0 -> random value)
seed
=
0
# seed value for the RNG (0 -> random value)
...
...
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