Skip to content

Commit

Permalink
fix(io): fixes merlin summary data type resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
kmnhan committed Apr 10, 2024
1 parent a5dd84a commit a91ad3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/erlab/io/plugins/merlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def generate_summary(
data_type = "LXY"
else:
data = self.load(path)
data_type = "core"
if "alpha" in data.dims:
data_type = "cut"
if "beta" in data.dims:
data_type = "map"
if "hv" in data.dims:
Expand Down

0 comments on commit a91ad3d

Please sign in to comment.