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
dg
dg
Commits
e130a038
Commit
e130a038
authored
Dec 09, 2016
by
Philippe Delandmeter
Browse files
slim: make directory in parallel
parent
c814206a
Pipeline
#1565
passed with stage
in 29 minutes and 46 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
dgpy/scripts/slimPre.py
View file @
e130a038
...
...
@@ -946,8 +946,12 @@ def set_global_data_directory(path):
def
make_directory
(
data_dir
):
"""Create data_dir directory if it does not exist yet"""
if
not
slim_private
.
path
.
isdir
(
data_dir
)
:
try
:
slim_private
.
makedirs
(
data_dir
)
except
:
pass
if
not
slim_private
.
path
.
isdir
(
data_dir
)
:
dgpy
.
Msg
.
Fatal
(
"coult not create directory: %s"
%
data_dir
)
dgpy
.
Msg
.
Barrier
()
def
partition_mesh
(
mesh_file_name
,
partitioned_mesh_file_name
):
...
...
Write
Preview
Supports
Markdown
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