Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
9d3919ae
Commit
9d3919ae
authored
6 years ago
by
Steffen Hauf
Browse files
Options
Downloads
Patches
Plain Diff
Clean outdated files
parent
f8d54a3b
No related branches found
No related tags found
1 merge request
!5
Clean
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cal_tools/cal_tools/cal_tools.py
+2
-2
2 additions, 2 deletions
cal_tools/cal_tools/cal_tools.py
with
2 additions
and
2 deletions
cal_tools/cal_tools/cal_tools.py
+
2
−
2
View file @
9d3919ae
...
@@ -116,7 +116,7 @@ def make_report(run_path, tmp_path, out_path, project, author, version):
...
@@ -116,7 +116,7 @@ def make_report(run_path, tmp_path, out_path, project, author, version):
print
(
f
)
print
(
f
)
shutil
.
copy
(
f
,
out_path
)
shutil
.
copy
(
f
,
out_path
)
print
(
"
Removing temporary files at: {}
"
.
format
(
tmp_path
))
print
(
"
Removing temporary files at: {}
"
.
format
(
tmp_path
))
#
shutil.rmtree(tmp_path)
#
shutil.rmtree(tmp_path)
def
finalize
(
joblist
,
run_path
,
out_path
,
project
,
calibration
,
author
,
version
):
def
finalize
(
joblist
,
run_path
,
out_path
,
project
,
calibration
,
author
,
version
):
...
@@ -264,4 +264,4 @@ def get_dir_creation_date(directory, run):
...
@@ -264,4 +264,4 @@ def get_dir_creation_date(directory, run):
creation_time
=
os
.
stat
(
"
{}/r{:04d}
"
.
format
(
directory
,
run
)).
st_ctime
creation_time
=
os
.
stat
(
"
{}/r{:04d}
"
.
format
(
directory
,
run
)).
st_ctime
creation_time
=
datetime
.
datetime
.
fromtimestamp
(
creation_time
)
creation_time
=
datetime
.
datetime
.
fromtimestamp
(
creation_time
)
return
(
creation_time
)
return
(
creation_time
)
\ No newline at end of file
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