Skip to content

Commit 891dc26

Browse files
authored
Merge pull request #144 from MiraGeoscience/GEOPY-2883
GEOPY-2883: Remove dependency on Tx frequency for airborne FEM survey
2 parents 78bced0 + 2165568 commit 891dc26

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

simpeg/directives/_save_geoh5.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,14 +289,14 @@ def write(self, iteration: int, values: list[np.ndarray] = None): # flake8: noq
289289
}
290290
)
291291
# Re-assign the data type
292-
if channel not in self.data_type[component].keys():
293-
self.data_type[component][channel] = data.entity_type
292+
if ii not in self.data_type[component].keys():
293+
self.data_type[component][ii] = data.entity_type
294294
type_name = f"{self._attribute_type}_{component}" + f"_{label}"
295295
data.entity_type.name = type_name
296296
else:
297297
data.entity_type = w_s.find_type(
298-
self.data_type[component][channel].uid,
299-
type(self.data_type[component][channel]),
298+
self.data_type[component][ii].uid,
299+
type(self.data_type[component][ii]),
300300
)
301301

302302

0 commit comments

Comments
 (0)