Skip to content

Commit

Permalink
Skip processing blocks with no live traces during concat (#508)
Browse files Browse the repository at this point in the history
Co-authored-by: Altay Sansal <[email protected]>
  • Loading branch information
tasansal and Altay Sansal authored Feb 13, 2025
1 parent 4a924c3 commit 52539ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mdio/segy/blocked_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ def segy_record_concat(
dest_map[record_file_path] = []

for block in rec_blocks:
if block == 0:
continue
dest_map[record_file_path].append(block.path)

for dest_path, source_paths in dest_map.items():
Expand Down

0 comments on commit 52539ee

Please sign in to comment.