Skip to content
GitLab
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
Jun 26, 2023
by
BO ZHANG
🏀
Browse files
resolve conflicts in time module
parent
96d94e4e
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_common/wrapper.py
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
...
...
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