-
Notifications
You must be signed in to change notification settings - Fork 58
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
default memmap
parameter to False
#1801
default memmap
parameter to False
#1801
Conversation
29aafc6
to
9bb044f
Compare
Unit test failures are real. It looks like there are more tests that need updated for the new default. |
#1852 was merged and introduced the "what's new" page for asdf 4.0. Would you update this PR and add an entry describing the default change: |
1fe2d64
to
787cd55
Compare
@@ -976,7 +976,7 @@ def test_memmap_write(tmp_path): | |||
tmpfile = str(tmp_path / "data.asdf") | |||
tree = {"data": np.zeros(100)} | |||
|
|||
with asdf.AsdfFile(tree) as af: | |||
with asdf.AsdfFile(tree, memmap=False) as af: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed?
with asdf.AsdfFile(tree, memmap=False) as af: | |
with asdf.AsdfFile(tree) as af: |
Co-authored-by: Brett Graham <[email protected]>
Co-authored-by: Brett Graham <[email protected]>
Co-authored-by: Brett Graham <[email protected]>
I think this PR should be good to go once the lines mentioned in #1801 (comment) are removed. |
Co-authored-by: Brett Graham <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks again for taking this on!
based on (and blocked by) #1800
Description
default
memmap=False
Checklist: