Skip to content

Commit

Permalink
changed Sys.which("sbatch") to sbatch... Testing that this is current…
Browse files Browse the repository at this point in the history
…ly causing the error.
  • Loading branch information
mduncans committed Sep 9, 2024
1 parent 08d7293 commit e4fb1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/submit-model.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ submit_nonmem_model <-
brio::write_file(template_script, script_file_path)
fs::file_chmod(script_file_path, "0755")
}
cmd <- list(cmd = Sys.which("sbatch"), args = script_file_path, template_script = template_script, partition = partition)
cmd <- list(cmd = "sbatch", args = script_file_path, template_script = template_script, partition = partition)
if (dry_run) {
return(cmd)
}
Expand Down

0 comments on commit e4fb1d1

Please sign in to comment.