Skip to content

Commit 52539ee

Browse files
tasansalAltay Sansal
andauthored
Skip processing blocks with no live traces during concat (TGSAI#508)
Co-authored-by: Altay Sansal <[email protected]>
1 parent 4a924c3 commit 52539ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mdio/segy/blocked_io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ def segy_record_concat(
244244
dest_map[record_file_path] = []
245245

246246
for block in rec_blocks:
247+
if block == 0:
248+
continue
247249
dest_map[record_file_path].append(block.path)
248250

249251
for dest_path, source_paths in dest_map.items():

0 commit comments

Comments
 (0)