Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace usage of copy_arrays=True with memmap=False #8660

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ outlier_detection
- Fixed failures due to a missing ``wcs.array_shape`` attribute when the
``outlier_detection`` step was run standalone using e.g. ``strun`` [#8645]

set_telescope_pointing
----------------------

- replace usage of ``copy_arrays=True`` with ``memmap=False`` [#8660]

- Refactored separate modes into submodules instead of inheriting from a base class.
Moved non-JWST-specific code to stcal. [#8613]

Expand Down
2 changes: 1 addition & 1 deletion jwst/lib/set_telescope_pointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def from_asdf(cls, asdf_file):
if isinstance(asdf_file, asdf.AsdfFile):
transforms = asdf_file.tree['transforms']
else:
with asdf.open(asdf_file, copy_arrays=True, lazy_load=False) as af:
with asdf.open(asdf_file, memmap=False, lazy_load=False) as af:
transforms = af.tree['transforms']

return cls(**transforms)
Expand Down
Loading