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
e5799408
Commit
e5799408
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
fixed version
parent
b37ec6e3
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
+2
-2
csst_common/data_manager.py
with
2 additions
and
2 deletions
+2
-2
csst_common/data_manager.py
+
2
-
2
View file @
e5799408
...
@@ -1049,10 +1049,10 @@ class CsstMsFile(dict):
...
@@ -1049,10 +1049,10 @@ class CsstMsFile(dict):
def
fpo
(
self
,
post
=
".fits"
):
def
fpo
(
self
,
post
=
".fits"
):
if
post
.
startswith
(
"."
):
if
post
.
startswith
(
"."
):
fn
=
f
"
{
self
.
telescope
}
_
{
self
.
instrument
}
_
{
self
.
project
}
_
{
self
.
obs_type
}
_
{
self
.
exp_start
}
_
{
self
.
exp_stop
}
_"
\
fn
=
f
"
{
self
.
telescope
}
_
{
self
.
instrument
}
_
{
self
.
project
}
_
{
self
.
obs_type
}
_
{
self
.
exp_start
}
_
{
self
.
exp_stop
}
_"
\
f
"
{
self
.
obs_id
}
_
{
self
.
detector
}
_L1_V
{
self
.
version
}{
post
}
"
f
"
{
self
.
obs_id
}
_
{
self
.
detector
}
_L1_V
{
self
.
version
:
02
d
}{
post
}
"
else
:
else
:
fn
=
f
"
{
self
.
telescope
}
_
{
self
.
instrument
}
_
{
self
.
project
}
_
{
self
.
obs_type
}
_
{
self
.
exp_start
}
_
{
self
.
exp_stop
}
_"
\
fn
=
f
"
{
self
.
telescope
}
_
{
self
.
instrument
}
_
{
self
.
project
}
_
{
self
.
obs_type
}
_
{
self
.
exp_start
}
_
{
self
.
exp_stop
}
_"
\
f
"
{
self
.
obs_id
}
_
{
self
.
detector
}
_L1_V
{
self
.
version
}
_
{
post
}
"
f
"
{
self
.
obs_id
}
_
{
self
.
detector
}
_L1_V
{
self
.
version
:
02
d
}
_
{
post
}
"
return
os
.
path
.
join
(
self
.
dir_out
,
fn
)
return
os
.
path
.
join
(
self
.
dir_out
,
fn
)
def
fpi
(
self
):
def
fpi
(
self
):
...
...
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