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 crash when exporting to SEG-Y with missing axis=0 chunk in selection_mask #201

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

tasansal
Copy link
Collaborator

This PR addresses a crash that occurred when exporting to SEG-Y format and an entire axis=0 chunk was missing from the selection_mask. The following changes have been made in the mdio_to_segy function within mdio.py:

  1. Added a condition to handle missing whole blocks by filtering them out from the flat_files array.
  2. Concatenate the output SEG-Y file with the filtered flat_files list.

@tasansal tasansal added the bug Something isn't working label Apr 26, 2023
@tasansal tasansal self-assigned this Apr 26, 2023
@tasansal tasansal merged commit dbb3ee1 into main Apr 26, 2023
@tasansal tasansal deleted the fix/concat_segy_bug branch April 26, 2023 18:20
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.

None yet

1 participant