Skip to content

Commit

Permalink
Remove unnecessary code affecting coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
keithralphs committed Jul 10, 2024
1 parent afaf658 commit 79cb84d
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/dls_bluesky_core/plans/wrapped.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,5 @@ def count(
Yields:
Iterator[MsgGenerator]: _description_
"""
plan_args = {
# If bp.count added delay to plan_args, we could remove all md handling
"detectors": set(map(repr, detectors)),
"num": num,
"delay": delay,
}

_md = {
"plan_args": plan_args,
**(metadata or {}),
}

yield from bp.count(detectors, num, delay=delay, md=_md)

yield from bp.count(detectors, num, delay=delay, md=metadata or {})

0 comments on commit 79cb84d

Please sign in to comment.