Skip to content

Commit

Permalink
Merge pull request #31 from SCingolani/patch-1
Browse files Browse the repository at this point in the history
Solve minor bug involving QE output filename
  • Loading branch information
vossjo committed Feb 22, 2020
2 parents 04ca42a + b2c2831 commit 5d3d0ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,10 +665,10 @@ def input_update(self):
# Run initialization functions, such that this can be called if variables in espresso are
#changes using set or directly.

self.create_outdir() # Create the tmp output folder

#sdir is the directory the script is run or submitted from
self.sdir = getsubmitorcurrentdir(site)

self.create_outdir() # Create the tmp output folder

if self.dw is None:
self.dw = 10. * self.pw
Expand Down Expand Up @@ -707,7 +707,7 @@ def create_outdir(self):
if not self.txt:
self.log = self.localtmp+'/log'
elif self.txt[0]!='/':
self.log = self.sdir+'/log'
self.log = self.sdir+'/'+self.txt
else:
self.log = self.txt
self.scratch = mkscratch(self.localtmp, site)
Expand Down

0 comments on commit 5d3d0ba

Please sign in to comment.