From a91ad3d4387a23d25ac1b208cba8217e67efbec0 Mon Sep 17 00:00:00 2001 From: Kimoon Han <98246499+kmnhan@users.noreply.github.com> Date: Thu, 11 Apr 2024 08:32:19 +0900 Subject: [PATCH] fix(io): fixes merlin summary data type resolving --- src/erlab/io/plugins/merlin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/erlab/io/plugins/merlin.py b/src/erlab/io/plugins/merlin.py index a5aec703..63046d34 100644 --- a/src/erlab/io/plugins/merlin.py +++ b/src/erlab/io/plugins/merlin.py @@ -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: