Skip to content

Commit

Permalink
added some qol and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Nov 22, 2018
1 parent 55321ad commit 503b2d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/defaults.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function getdefault_server()
if isdefined(DFControl, :default_server)
return DFControl.default_server
else
return ""
return "localhost"
end
end

Expand Down
2 changes: 1 addition & 1 deletion src/fileio.jl
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function read_job_line(line)
line = replace(line, ['>', '<'] => " ")
if line[1] == '#'
run = false
line = line[2:end]
line = strip(line[2:end], '#')
else
run = true
end
Expand Down
2 changes: 1 addition & 1 deletion src/server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function qsub(job::DFJob)
error("Tried submitting on the local machine but got an error executing `qsub`.")
end
end
return Meta.parse(Int, chomp(outstr))
return parse(Int, chomp(outstr))
end

"Tests whether a directory exists on a server and if not, creates it."
Expand Down

0 comments on commit 503b2d6

Please sign in to comment.