Commit 9b73aea1 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

refactor PIPELINE

parent c7e3e571
Pipeline #2897 passed with stage
in 0 seconds
......@@ -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")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment