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

Fix logical error in array item checks #138

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

tasansal
Copy link
Contributor

The logical error in the check within the __getitem__ and __setitem__ methods of src/segy/arrays.py has been rectified. The previous condition did not ensure that the items or keys passed were in HeaderArray.dtype.names.

The logical error in the check within the __getitem__ and __setitem__ methods of src/segy/arrays.py has been rectified. The previous condition was not ensuring that the items or keys passed were actually in self.dtype.names.
@tasansal tasansal added the bug Something isn't working label Jun 21, 2024
@tasansal tasansal self-assigned this Jun 21, 2024
@tasansal tasansal merged commit 481fa7f into main Jun 21, 2024
31 checks passed
@tasansal tasansal deleted the bug/fix-array-get_set-list-alias branch June 21, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant