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

refactor PIPELINE

parent c7e3e571
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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")