Commit 7551c742 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

use real paths for working directory and source directory

parent 6a4ccf4b
......@@ -142,7 +142,7 @@ class FluidResize(_fluid_particle_base):
cmd_line_pars[k] = opt.m
self.pars_from_namespace(opt)
src_file = os.path.join(
opt.src_work_dir,
os.path.realpath(opt.src_work_dir),
opt.src_simname + '_cvorticity_i{0:0>5x}'.format(opt.src_iteration))
read_file = os.path.join(
self.work_dir,
......
......@@ -45,7 +45,7 @@ class _base(object):
'ny' : 32,
'nz' : 32}
self.string_length = 512
self.work_dir = work_dir
self.work_dir = os.path.realpath(work_dir)
self.simname = simname
return None
def cdef_pars(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment