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
9b73aea1
Commit
9b73aea1
authored
1 year ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
refactor PIPELINE
parent
c7e3e571
dev
main
No related merge requests found
Pipeline
#2897
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/pipeline.py
+1
-1
csst_common/pipeline.py
with
1 addition
and
1 deletion
+1
-1
csst_common/pipeline.py
+
1
-
1
View file @
9b73aea1
...
...
@@ -147,7 +147,7 @@ class Pipeline:
def
info_header
(
self
)
->
fits
.
Header
:
"""Summarize pipeline info into a `astropy.io.fits.Header`."""
h
=
fits
.
Header
()
h
.
set
(
"PIPELINE
_ID
"
,
self
.
pipeline_id
,
comment
=
"pipeline ID"
)
h
.
set
(
"PIPELINE"
,
self
.
pipeline_id
,
comment
=
"pipeline ID"
)
h
.
set
(
"BUILD"
,
self
.
build
,
comment
=
"pipeline build number"
)
h
.
set
(
"CREATED"
,
self
.
pipeline_id
,
comment
=
"pipeline build time"
)
return
reformat_header
(
h
,
strip
=
False
,
comment
=
"Pipeline info"
)
...
...
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