Skip to content

Commit

Permalink
added abspath again
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Mar 29, 2020
1 parent e602e31 commit 0fd2128
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/job.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Represents a full DFT job with multiple input files and calculations.
server_dir ::String = ""
header ::Vector{String} = getdefault_jobheader()
metadata ::Dict = Dict()
# function DFJob(name, structure, calculations, local_dir, server, server_dir, header)
# if !isabspath(local_dir)
# local_dir = abspath(local_dir)
# end
# return new(name, structure, calculations, local_dir, server, server_dir, header)
# end
function DFJob(name, structure, calculations, local_dir, server, server_dir, header, metadata)
if !isabspath(local_dir)
local_dir = abspath(local_dir)
end
return new(name, structure, calculations, local_dir, server, server_dir, header, metadata)
end
end

#TODO implement abinit
Expand Down

0 comments on commit 0fd2128

Please sign in to comment.