Skip to content

Commit

Permalink
I don't undertand what is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Jun 16, 2021
1 parent 3994d9a commit 1375225
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/src/guide/advanced_tutorial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ end#hide
# further details and options on how to load previously saved jobs.

# The next thing we may want to do is to change the directory where the job is running.
try#hide
set_localdir!(job, "Job2", copy=true)
catch#hide
global job = deepcopy(tjob2);#hide
pop!(job);#hide
pop!(job);#hide
job#hide
end#hide
# With the `copy=true` flag we let DFControl know that not only to create and set the
# new directory, but also to copy the previous results and temporary files to the
# new directory so we don't have to rerun the scf calculation.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/guide/basic_tutorial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ job["scf"].run = false
job

# Seeing that all is right we submit the job again
set_localdir!(job, pwd()); #hide
set_localdir!(job, "job"); #hide
try #hide
submit(job)
catch #hide
Expand Down

0 comments on commit 1375225

Please sign in to comment.