Skip to content
Snippets Groups Projects
Commit 79dce66e authored by Maria Voigt's avatar Maria Voigt
Browse files

changing percent to perc in name

parent d4d398cb
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ option_list <- list ( ...@@ -49,7 +49,7 @@ option_list <- list (
help = "iteration of excluding the given percent randomly", help = "iteration of excluding the given percent randomly",
metavar = "1"), metavar = "1"),
make_option("--exclude-grid-random-percent", make_option("--exclude-grid-random-percent",
dest = "exclude_grid_rand_percent", dest = "exclude_grid_rand_perc",
type = "integer", type = "integer",
default = NA, default = NA,
help = "percemt cells to be excluded", help = "percemt cells to be excluded",
...@@ -81,7 +81,7 @@ if (!is.na(options$exclude_year) && !(options$exclude_year %in% exclude_year_pos ...@@ -81,7 +81,7 @@ if (!is.na(options$exclude_year) && !(options$exclude_year %in% exclude_year_pos
if (!is.na(options$exclude_grid_rand) & is.na(options$exclude_grid_rand_percent)){ if (!is.na(options$exclude_grid_rand) & is.na(options$exclude_grid_rand_perc)){
stop(paste("exclude-grid-random needs the percent cells that have to be excluded (exclude-grid-random-percent)"))} stop(paste("exclude-grid-random needs the percent cells that have to be excluded (exclude-grid-random-percent)"))}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment