From 9296011d4b2372e3f8aafb4d952fa831496fad41 Mon Sep 17 00:00:00 2001 From: jan Date: Sun, 8 Mar 2026 22:34:39 -0700 Subject: [PATCH] [Ref] deepcopy annotations and repetitions --- masque/ref.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masque/ref.py b/masque/ref.py index 3a64dce..f38c1a8 100644 --- a/masque/ref.py +++ b/masque/ref.py @@ -100,8 +100,8 @@ class Ref( def __deepcopy__(self, memo: dict | None = None) -> 'Ref': memo = {} if memo is None else memo new = copy.copy(self) - #new.repetition = copy.deepcopy(self.repetition, memo) - #new.annotations = copy.deepcopy(self.annotations, memo) + new.repetition = copy.deepcopy(self.repetition, memo) + new.annotations = copy.deepcopy(self.annotations, memo) return new def __lt__(self, other: 'Ref') -> bool: