Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ENsource 2
disaggregation
Commits
5bcfed84
Commit
5bcfed84
authored
Jun 02, 2021
by
Pithon Kabiro
Browse files
Fix bug in naming of result folder
parent
94c1f4cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
disaggregation_lookahead.py
View file @
5bcfed84
...
...
@@ -504,7 +504,8 @@ def main(argv):
end
=
time
.
time
()
print
(
'Runtime: '
,
end
-
start
)
d
=
datetime
.
now
()
folderName
=
f
'result_
{
d
.
year
}{
d
.
month
}{
d
.
day
}{
d
.
hour
}{
d
.
minute
}{
d
.
second
}
'
d_formatted
=
d
.
strftime
(
'%Y%m%d%H%M%S'
)
# Ensure that single digit days and months are padded with a leading `0`
folderName
=
f
'result_
{
d_formatted
}
'
filepathHtml
=
f
'
{
folderName
}
.html'
# create folder for files
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment