Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Jun 25, 2024
1 parent 8f2522a commit 76b25ee
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions specutils/tests/test_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,16 +678,8 @@ def test_tabular_fits_maskheader(tmp_path):

# Test HDU0 header
assert hdulist[0].header['OBSERVER'] == 'Parsons'
<<<<<<< HEAD
<<<<<<< HEAD

# keys relevant to datashape are in HDU 1
=======

=======
>>>>>>> 8bef29ce (codestyle fix)

# keys relevant to datashape are in HDU1 header
>>>>>>> 34257f44 (restore old legacy tests.)
assert hdulist[1].header['NAXIS'] == 2
assert hdulist[1].header['NAXIS2'] == disp.shape[0]

Expand All @@ -705,7 +697,7 @@ def test_tabular_fits_update_header(tmp_path):
spectrum = Spectrum1D.read(tmpfile, format='tabular-fits')

# Now write with updated header information from spectrum.meta
spectrum.meta['header'].update({'OBSERVER': 'Rosse', 'EXPTIME': 32.1})
spectrum.meta.update({'OBSERVER': 'Rosse', 'EXPTIME': 32.1, 'NAXIS2': 12})
spectrum.write(tmpfile, format='tabular-fits', overwrite=True,
update_header=True)

Expand Down

0 comments on commit 76b25ee

Please sign in to comment.