Commit 6a6166f1 authored by Simon Conseil's avatar Simon Conseil

Fix to correctly print header comments

parent 14b1b6c4
Pipeline #3119 passed with stage
in 15 minutes and 6 seconds
......@@ -790,9 +790,9 @@ class Source:
excluded_cards = {'SIMPLE', 'BITPIX', 'NAXIS', 'EXTEND', 'DATE',
for key in self.header.keys():
if key not in excluded_cards:
for card in
if card.keyword not in excluded_cards:
for attr in (self.spectra, self.images, self.cubes, self.tables):
Markdown is supported
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