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
Bo Zhang
csst
Commits
e9ac5235
Commit
e9ac5235
authored
Jun 16, 2022
by
BO ZHANG
🏀
Browse files
tweaks
parent
5bad6356
Changes
1
Show whitespace changes
Inline
Side-by-side
csst/msc/naming.py
View file @
e9ac5235
...
...
@@ -145,7 +145,7 @@ class CsstMscNamingRules:
if
__name__
==
"__main__"
:
from
csst
.
msc
.
naming
from
csst.msc.naming
import
CsstMscNamingRules
nr
=
CsstMscNamingRules
(
ver_sim
=
"C3"
,
dir_l0
=
"/data/L1Pipeline/msc/MSC_0000020"
,
dir_l1
=
"/data/L1Pipeline/msc/work"
)
print
(
nr
.
l0_sci
(
ccd_id
=
6
))
print
(
os
.
path
.
exists
(
nr
.
l0_sci
(
ccd_id
=
6
)))
...
...
@@ -159,6 +159,7 @@ if __name__ == "__main__":
print
(
nr
.
available_ccd_ids
)
print
(
nr
.
l1_sci
(
25
))
from
csst.msc.naming
import
CsstMscNamingRules
nr
=
CsstMscNamingRules
(
ver_sim
=
"C5.1"
,
dir_l0
=
"/data/sim_data/MSC_0000100"
,
dir_l1
=
"/home/user/L1Pipeline/msc/work"
)
print
(
nr
.
l0_sci
(
ccd_id
=
6
))
print
(
os
.
path
.
exists
(
nr
.
l0_sci
(
ccd_id
=
6
)))
...
...
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