Skip to content

Commit 7dad895

Browse files
committed
Cleanup
1 parent e48e5f3 commit 7dad895

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/mdio/segy/_workers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,12 @@ def trace_worker( # noqa: PLR0913
126126
header_key = "headers"
127127
raw_header_key = "raw_headers"
128128

129-
# Used to disable the reverse transforms if we aren't going to write the raw headers
130-
do_reverse_transforms = False
131-
132129
# Get subset of the dataset that has not yet been saved
133130
# The headers might not be present in the dataset
134131
worker_variables = [data_variable_name]
135132
if header_key in dataset.data_vars: # Keeping the `if` here to allow for more worker configurations
136133
worker_variables.append(header_key)
137134
if raw_header_key in dataset.data_vars:
138-
do_reverse_transforms = True
139135
worker_variables.append(raw_header_key)
140136

141137
from copy import deepcopy # TODO: Move to head if we need to copy

0 commit comments

Comments
 (0)