From 142f07ed052aa315ff6dfe20e4aaa6a2c713d0f7 Mon Sep 17 00:00:00 2001 From: JoFrhwld Date: Tue, 25 Jun 2024 17:28:46 -0400 Subject: [PATCH 1/2] fix for tier groups with empty tiers --- src/aligned_textgrid/aligned_textgrid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aligned_textgrid/aligned_textgrid.py b/src/aligned_textgrid/aligned_textgrid.py index 395de0b..a33c597 100644 --- a/src/aligned_textgrid/aligned_textgrid.py +++ b/src/aligned_textgrid/aligned_textgrid.py @@ -439,7 +439,7 @@ def append(self, tier_group:TierGroup): new_classes = self._swap_classes(tier_group.entry_classes, self._cloned_classes) for cl, tier in zip(new_classes, tier_group): entries = [cl._cast(i) for i in tier] - tier.__init__(entries) + tier.__init__(entries, entry_class = cl) tier_group.__init__(tier_group) From 34704c41809f335ebd15d8532673aa1161e63f5a Mon Sep 17 00:00:00 2001 From: JoFrhwld Date: Tue, 25 Jun 2024 17:39:53 -0400 Subject: [PATCH 2/2] version bump --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b793d01..dc647a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aligned_textgrid" -version = "0.7.3" +version = "0.7.4" description = "Classes for defining sequential information from TextGrids" authors = ["JoFrhwld ", "chrisbrickhouse "] license = "GPL-3.0-or-later"