From dbb3c9a55dceb0020870310cc368d214b2385c51 Mon Sep 17 00:00:00 2001 From: Daniel Vedder <daniel.vedder@idiv.de> Date: Mon, 2 Jan 2023 17:38:27 +0100 Subject: [PATCH] Updated README --- LICENSE | 2 +- README.md | 15 +++++++++++---- src/Persephone.jl | 6 +++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index 2c3e0c7..16d4824 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT LICENSE -Copyright (c) 2022 Daniel Vedder, Lea Kolb +Copyright (c) 2022-2023 Daniel Vedder, Lea Kolb Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index bb2507f..1916b4c 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,15 @@ To install package dependencies, open a Julia REPL in this folder and run ### Running from the commandline -This is the normal mode of operation. Simply execute `run.sh`, typically like so (in Linux): +This is the normal mode of operation. Simply execute `run.jl`, typically like so (in Linux): ``` -> ./run.sh -c <config> +> ./run.jl -c <config> ``` where `<config>` specifies the configuration file to use. The recommended workflow is to copy `scr/parameters.toml` to a location of your choice and edit the copy to suit -your requirements. The adapted config file can then be passed to `run.sh`. (If no +your requirements. The adapted config file can then be passed to `run.jl`. (If no configuration file is specified, Persephone will run with its default settings.) The full list of commandline arguments is: @@ -53,6 +53,13 @@ optional arguments: ``` +To run the test suite, do the following: + +``` +> cd test +> julia runtests.jl +``` + ### Running from within Julia To use the model from within Julia (either inside an interactive REPL or if you want @@ -69,4 +76,4 @@ You can then access all Persephone functions, such as `simulate()`. (See --- -© 2022 Daniel Vedder, Lea Kolb (MIT license) +© 2022-2023 Daniel Vedder, Lea Kolb (MIT license) diff --git a/src/Persephone.jl b/src/Persephone.jl index b45406d..2408f3f 100644 --- a/src/Persephone.jl +++ b/src/Persephone.jl @@ -2,7 +2,7 @@ ### ### Daniel Vedder <daniel.vedder@idiv.de> ### Lea Kolb <lea-deborah.kolb@idiv.de> -### (c) 2022, licensed under the terms of the MIT license +### (c) 2022-2023, licensed under the terms of the MIT license ### ### This file defines the module/package for the Persephone model. ### To run the model, either execute `run.jl` from the commandline, @@ -43,8 +43,8 @@ const PARAMFILE = "src/parameters.toml" ## (DO NOT CHANGE THIS VALUE! Instead, specify simulation-specific configuration files ## by using the "--configfile" commandline argument, or when invoking simulate().) -## include all module files - note that the order matters -## (if file b references something from file a, it must be included later) +## include all module files (note that the order matters - if file +## b references something from file a, it must be included later) include("core/input.jl") include("core/output.jl") include("core/landscape.jl") -- GitLab