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 10, 2024
1 parent b64535b commit a6120d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/runSWATpar.R
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ runSWATSequential <- function(coreNumber,

# Call swat.exe file
exeFile <- basename(swatExe)
if(!file.exists(exeFile) file.copy(swatExe, toDir)
if(!file.exists(exeFile)) file.copy(swatExe, toDir)

# Check platform
if(.Platform$OS.type == "unix") {
Expand Down

0 comments on commit a6120d5

Please sign in to comment.