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
299887ea
Commit
299887ea
authored
2 years ago
by
BO ZHANG
🏀
Browse files
Options
Download
Email Patches
Plain Diff
set all detectors by default
parent
8acd6a96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/data_manager.py
+3
-0
csst_common/data_manager.py
with
3 additions
and
0 deletions
+3
-0
csst_common/data_manager.py
+
3
-
0
View file @
299887ea
...
@@ -147,6 +147,9 @@ class CsstMsDataManager:
...
@@ -147,6 +147,9 @@ class CsstMsDataManager:
self
.
available_detectors
=
[
int
(
re
.
split
(
r
"[_.]"
,
fp
)[
7
])
for
fp
in
fps_img
]
self
.
available_detectors
=
[
int
(
re
.
split
(
r
"[_.]"
,
fp
)[
7
])
for
fp
in
fps_img
]
self
.
available_detectors
.
sort
()
self
.
available_detectors
.
sort
()
# set all available detectors by default
self
.
set_detectors
(
None
)
@
staticmethod
@
staticmethod
def
glob_image
(
dir_l0
,
ver_sim
=
"C5"
):
def
glob_image
(
dir_l0
,
ver_sim
=
"C5"
):
""" glob files in L0 data directory """
""" glob files in L0 data directory """
...
...
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