Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Tobias Langer
/
experiment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d27fb4f7
authored
8 years ago
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed errornous variable name.
parent
4f31a492
master
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
generate.py
+3
-3
No files found.
generate.py
View file @
d27fb4f7
...
...
@@ -48,12 +48,12 @@ def create_dir(filename):
removal if it exists.
"""
try
:
os
.
makedirs
(
path
)
os
.
makedirs
(
filename
)
except
FileExistsError
:
if
not
query_yes_no
(
'Folder exists, remove?'
,
default
=
'yes'
):
return
False
shutil
.
rmtree
(
path
)
os
.
makedirs
(
path
)
shutil
.
rmtree
(
filename
)
os
.
makedirs
(
filename
)
return
True
def
create_header
(
headerfile
,
experiment
,
destination
):
...
...
This diff is collapsed.
Click to expand it.
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