Skip to content

Commit

Permalink
remove Datamodel.read Datamodel.write
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Feb 24, 2025
1 parent 8216eb3 commit e076db5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/stdatamodels/model_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,16 +1105,6 @@ def set_fits_wcs(self, wcs, hdu_name="SCI"):

self._instance = properties.merge_tree(self._instance, ff.tree)

# --------------------------------------------------------
# These two method aliases are here for astropy.registry
# compatibility and should not be called directly
# --------------------------------------------------------

read = __init__

def write(self, path, *args, **kwargs):
self.save(path, *args, **kwargs)

def getarray_noinit(self, attribute):
"""Retrieve array but without initialization
Expand Down

0 comments on commit e076db5

Please sign in to comment.