Skip to content

Commit

Permalink
changes; clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
kbwestfall committed Oct 29, 2024
1 parent eab0d4e commit 46ac2fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions doc/releases/1.16.1dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ Bug Fixes
the 'BOXSLIT' flag.
- Fix a bug in `pypeit_coadd_2d` related to how the binning was taken into account
in the mask definition, and in the calculation of the offset between frames.
- Fix bug when trying to open mosaic data from previous versions; version
checking flag was not being propagated.



Expand Down
5 changes: 0 additions & 5 deletions pypeit/images/mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@ def _parse(cls, hdu, hdu_prefix=None, **kwargs):
type_passed &= tp
d['detectors'] = np.array(d['detectors'], dtype=object)

# d['detectors'] = np.array([DetectorContainer.from_hdu(
# fits.BinTableHDU(data=table.Table(tbl[i]),
# name='DETECTOR', header=hdr))
# for i in range(ndet)])

return d, version_passed, type_passed, parsed_hdus


Expand Down
4 changes: 4 additions & 0 deletions pypeit/tests/test_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ def test_io():

# Should not fail because skipping the version check
_mpar = Mosaic.from_file(ofile, chk_version=False)

# Remove file
ofile = Path(ofile)
ofile.unlink()

0 comments on commit 46ac2fe

Please sign in to comment.