Skip to content

Commit

Permalink
Update runSWATpar.R
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenta committed Mar 6, 2024
1 parent 5e28dda commit e251ffd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/runSWATpar.R
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,8 @@ runSWATSequential <- function(coreNumber,
# Check platform
if(.Platform$OS.type == "unix") {
system(paste0("./", trimws(exeFile[length(exeFile)])))
} else if (.Platform$OS.type == "windows") {
system(trimws(exeFile[length(exeFile)]))
} else {
stop("Unknown platform in runSWATpar.R")
system(trimws(exeFile[length(exeFile)]))
}

# Check first run
Expand Down

0 comments on commit e251ffd

Please sign in to comment.