Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
b37ec6e3
Commit
b37ec6e3
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
resolve conflicts in time module
parent
96d94e4e
dev
main
wangxia-main-patch-87026
zhaobowei-main-patch-61353
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/wrapper.py
+2
-2
csst_common/wrapper.py
with
2 additions
and
2 deletions
+2
-2
csst_common/wrapper.py
+
2
-
2
View file @
b37ec6e3
...
...
@@ -3,7 +3,7 @@ import time
import
traceback
from
collections
import
namedtuple
from
astropy
import
t
ime
from
astropy
.time
import
T
ime
from
csst_common.data_manager
import
CsstMsDataManager
from
csst_common.file_recorder
import
FileRecorder
...
...
@@ -93,7 +93,7 @@ def module_wrapper(func):
# write time stamp
if
tstamp
is
not
None
:
with
open
(
tstamp
,
"a+"
)
as
f
:
f
.
write
(
f
"
{
time
.
Time
.
now
().
isot
}
+08:00
\n
"
)
f
.
write
(
f
"
{
Time
.
now
().
isot
}
+08:00
\n
"
)
return
ModuleResult
(
func
.
__name__
,
t_cost
,
status
,
fr
,
output
)
return
call_module
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets