From 18ee63fd297979459179c3eff31091073d26ad9a Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <MichielCottaar@protonmail.com>
Date: Sat, 25 May 2024 18:44:06 +0100
Subject: [PATCH] Define TR for sequence

---
 src/containers/base_sequences.jl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/containers/base_sequences.jl b/src/containers/base_sequences.jl
index 7f80bef..09c282f 100644
--- a/src/containers/base_sequences.jl
+++ b/src/containers/base_sequences.jl
@@ -175,6 +175,8 @@ nrepeat(::Sequence) = 0
 to_block_pair(pair::Pair) = pair[1] => to_block(pair[2])
 to_block_pair(other) = nothing => to_block(other)
 
+@defvar repetition_time(seq::Sequence) = duration(seq)
+
 """
     to_block(block_like)
 
-- 
GitLab