Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mkexp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esmenv
mkexp
Commits
d965a55b
Commit
d965a55b
authored
11 years ago
by
Karl-Hermann Wieners
Browse files
Options
Downloads
Patches
Plain Diff
mkexp: Changed to suppress 'exist' warning if data dir is prefix of script dir
parent
b0f0ada5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mkexp
+1
-1
1 addition, 1 deletion
mkexp
with
1 addition
and
1 deletion
mkexp
+
1
−
1
View file @
d965a55b
...
...
@@ -181,7 +181,7 @@ data_dir = config['DATA_DIR']
print
"
Data directory:
'"
+
data_dir
+
"'"
if
not
os
.
path
.
isdir
(
data_dir
):
os
.
makedirs
(
data_dir
)
el
se
:
el
if
not
script_dir
.
startswith
(
data_dir
)
:
feedback
.
warning
(
"
data directory already exists
"
)
# Create directory for running the experiment if it doesn't exist
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment