Commit 82881086 authored by LDalby's avatar LDalby
Browse files

Fix argument setting bug

parent 778c51fe
......@@ -69,7 +69,7 @@ seq(1, 10, length.out = nsteps) %>%
GenerateParams("GOOSE_STARTNO_SCALER" = ., write = TRUE, path = wdpath)
replace_rotation(new_rot = path(rot_path, "UserDefinedFarm191.rot"),
old_rot = old_rot,
wd_path <- wdpath)
wd_path = wdpath)
# Startno scaler - maize rotation 192 ----
wdpath <- path(pathtodirs, dirs[1])
......@@ -78,7 +78,7 @@ seq(1, 10, length.out = nsteps) %>%
GenerateParams("GOOSE_STARTNO_SCALER" = ., write = TRUE, path = wdpath)
replace_rotation(new_rot = path(rot_path, "UserDefinedFarm192.rot"),
old_rot = old_rot,
wd_path <- wdpath)
wd_path = wdpath)
# Startno scaler - maize rotation 193 ----
wdpath <- path(pathtodirs, dirs[1])
......@@ -87,7 +87,7 @@ seq(1, 10, length.out = nsteps) %>%
GenerateParams("GOOSE_STARTNO_SCALER" = ., write = TRUE, path = wdpath)
replace_rotation(new_rot = path(rot_path, "UserDefinedFarm193.rot"),
old_rot = old_rot,
wd_path <- wdpath)
wd_path = wdpath)
# Startno scaler - standard maize ----
wdpath <- path(pathtodirs, dirs[1])
......@@ -102,7 +102,7 @@ seq(1, 10, length.out = nsteps) %>%
GenerateParams("GOOSE_BN_STARTNO_SCALER" = ., write = TRUE, path = wdpath)
replace_rotation(new_rot = path(rot_path, "UserDefinedFarm191.rot"),
old_rot = old_rot,
wd_path <- wdpath)
wd_path = wdpath)
# BN Startno scaler - maize rotation 192 ----
wdpath <- path(pathtodirs, dirs[1])
......@@ -111,7 +111,7 @@ seq(1, 10, length.out = nsteps) %>%
GenerateParams("GOOSE_BN_STARTNO_SCALER" = ., write = TRUE, path = wdpath)
replace_rotation(new_rot = path(rot_path, "UserDefinedFarm192.rot"),
old_rot = old_rot,
wd_path <- wdpath)
wd_path = wdpath)
# BN Startno scaler - maize rotation 193 ----
wdpath <- path(pathtodirs, dirs[1])
......@@ -120,7 +120,7 @@ seq(1, 10, length.out = nsteps) %>%
GenerateParams("GOOSE_BN_STARTNO_SCALER" = ., write = TRUE, path = wdpath)
replace_rotation(new_rot = path(rot_path, "UserDefinedFarm193.rot"),
old_rot = old_rot,
wd_path <- wdpath)
wd_path = wdpath)
# Edit the bat, ini and cfg files to match the parameters set above:
for (i in seq_along(dirs)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment