Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TurTLE
TurTLE
Commits
7551c742
Commit
7551c742
authored
Jan 26, 2016
by
Cristian Lalescu
Browse files
use real paths for working directory and source directory
parent
6a4ccf4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
bfps/FluidResize.py
View file @
7551c742
...
...
@@ -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
,
...
...
bfps/_base.py
View file @
7551c742
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment