From 94df5c871ad077f5ee5a0c0e70959638d234832c Mon Sep 17 00:00:00 2001 From: Florian Henkes Date: Fri, 13 Dec 2024 17:16:46 +0100 Subject: [PATCH] Bug Fix get_partitionvalidity --- src/utils/pars_utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/pars_utils.jl b/src/utils/pars_utils.jl index 8c27ee1e..54d139e5 100644 --- a/src/utils/pars_utils.jl +++ b/src/utils/pars_utils.jl @@ -107,7 +107,7 @@ function get_partitionvalidity(data::LegendData, ch::ChannelIdLike, det::Detecto # unpack ch, det, part = ChannelId(ch), DetectorId(det), DataPartition(part) # get partition validity - partinfo = partitioninfo(data, ch, part; category=cal) + partinfo = partitioninfo(data, ch, part; category=cat) Vector{@NamedTuple{period::DataPeriod, run::DataRun, filekey::FileKey, validity::String}}([(period = pinf.period, run = pinf.run, filekey = start_filekey(data, (pinf.period, pinf.run, cat)), validity = "$det/$(part).json") for pinf in partinfo]) end export get_partitionvalidity