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

Simplify deeply nested conditionals for opening/creating file #1288

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

ZedThree
Copy link
Contributor

Basically, convert lots of the conditionals around opening the file into constructing the correct value of cmode. This leaves us with top-level conditionals for reading (with/without memory) and writing, and then one set of nested conditionals for serial/parallel.

@jswhit
Copy link
Collaborator

jswhit commented Oct 28, 2023

thanks @ZedThree - I've been meaning to clean this up for a long time

@jswhit jswhit merged commit 47db80d into Unidata:master Oct 30, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants