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
2e5827e9
Commit
2e5827e9
authored
5 years ago
by
Karim Ahmed
Browse files
Options
Downloads
Patches
Plain Diff
edit func. descr.
parent
96fe1275
No related branches found
No related tags found
1 merge request
!115
feat/get_oldest_file's_timestamp
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cal_tools/cal_tools/tools.py
+2
-1
2 additions, 1 deletion
cal_tools/cal_tools/tools.py
with
2 additions
and
1 deletion
cal_tools/cal_tools/tools.py
+
2
−
1
View file @
2e5827e9
...
@@ -427,10 +427,11 @@ def get_notebook_name():
...
@@ -427,10 +427,11 @@ def get_notebook_name():
def
get_dir_creation_date
(
directory
,
run
,
tsdir
=
False
):
def
get_dir_creation_date
(
directory
,
run
,
tsdir
=
False
):
"""
"""
Return modification time of [directory]/[run]04
Return modification time of
oldest file.h5 in
[directory]/[run]04
:param directory: path to directory which contains runs
:param directory: path to directory which contains runs
:param run: run number
:param run: run number
:param tsdir: to get modification time of [directory]/[run]04.
:return: (datetime) modification time
:return: (datetime) modification time
"""
"""
if
tsdir
:
if
tsdir
:
...
...
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