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
d5632463
Commit
d5632463
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
add performance files to whitelist
parent
2e43158e
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/data_manager.py
+5
-5
csst_common/data_manager.py
with
5 additions
and
5 deletions
+5
-5
csst_common/data_manager.py
+
5
-
5
View file @
d5632463
...
...
@@ -247,9 +247,7 @@ class CsstMsDataManager:
self
.
clear_dir
(
self
.
dir_l1
)
# L1 whitelist
self
.
l1_whitelist
=
[
self
.
l1_file
(
name
=
"csst-l1"
)
]
self
.
l1_whitelist
=
[
self
.
l1_file
(
name
=
"mrs.csv"
),
]
for
detector
in
self
.
target_detectors
:
if
self
.
datatype
==
"mbi"
:
self
.
l1_whitelist
.
append
(
self
.
l1_detector
(
detector
=
detector
,
post
=
"img_L1.fits"
))
...
...
@@ -278,11 +276,13 @@ class CsstMsDataManager:
self
.
custom_flat
=
None
self
.
stamps
=
stamps
if
self
.
stamps
!=
""
:
self
.
l1_whitelist
.
append
(
self
.
l1_file
(
self
.
stamps
))
self
.
write_stamp
()
def
write_stamp
(
self
):
if
self
.
stamps
is
not
None
and
not
self
.
stamps
=
=
""
:
with
open
(
self
.
stamps
,
"a+"
)
as
f
:
if
self
.
stamps
is
not
None
and
self
.
stamps
!
=
""
:
with
open
(
self
.
l1_file
(
self
.
stamps
)
,
"a+"
)
as
f
:
f
.
write
(
f
"
{
time
.
Time
.
now
().
isot
.
replace
(
'.'
,
','
)
}
+0800
\n
"
)
@
staticmethod
...
...
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