Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Jun 7, 2018
1 parent 4397b6a commit 3b5a015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/job.jl
Expand Up @@ -865,9 +865,9 @@ outputdata(job::DFJob, filenames...; kwargs...) = outputdata(job, inputs(job, fi

function isrunning(job::DFJob)
@assert haskey(job.metadata, :slurmid) error("No slurmid found for job $(job.name)")
cmd = "qstat -f $(job.metadata[:slurmid])"
cmd = `qstat -f $(job.metadata[:slurmid])`
if runslocal(job)
str = readstring(`$cmd`)
str = readstring(cmd)
else
str = sshreadstring(job.server, cmd)
end
Expand Down

0 comments on commit 3b5a015

Please sign in to comment.