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
922706e5
Commit
922706e5
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
use string instead of lambda functions for custom ref
parent
eef7fc6b
dev
main
wangxia-main-patch-87026
zhaobowei-main-patch-61353
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/data_manager.py
+3
-3
csst_common/data_manager.py
with
3 additions
and
3 deletions
+3
-3
csst_common/data_manager.py
+
3
-
3
View file @
922706e5
...
...
@@ -440,7 +440,7 @@ class CsstMsDataManager:
else
:
return
self
.
path_aux
.
format
(
detector
,
"bias"
)
else
:
return
self
.
custom_bias
(
detector
)
return
self
.
custom_bias
.
format
(
detector
)
def
get_dark
(
self
,
detector
=
6
):
""" get dark data """
...
...
@@ -450,7 +450,7 @@ class CsstMsDataManager:
else
:
return
self
.
path_aux
.
format
(
detector
,
"dark"
)
else
:
return
self
.
custom_dark
(
detector
)
return
self
.
custom_dark
.
format
(
detector
)
def
get_flat
(
self
,
detector
=
6
):
""" get flat data """
...
...
@@ -460,7 +460,7 @@ class CsstMsDataManager:
else
:
return
self
.
path_aux
.
format
(
detector
,
"flat"
)
else
:
return
self
.
custom_flat
(
detector
)
return
self
.
custom_flat
.
format
(
detector
)
def
get_axeconf
(
self
):
if
os
.
uname
()[
1
]
==
"dandelion"
:
...
...
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