Skip to content

Commit

Permalink
Bug Fix get_partitionvalidity
Browse files Browse the repository at this point in the history
  • Loading branch information
theHenks committed Dec 13, 2024
1 parent e995fc6 commit 94df5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/pars_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94df5c8

Please sign in to comment.