Skip to content
Snippets Groups Projects
Commit 2cf086a3 authored by Piotr Sowinski's avatar Piotr Sowinski
Browse files

Merge branch 'feature-NXCALS-7588-fills-retrieved-as-objects-in-pytimber' into 'develop'

NXCALS-7588 fills retrieved as objects in PyTimber

Closes NXCALS-7588

See merge request !1953
parents 378238d5 5d4b8fbf
No related branches found
No related tags found
1 merge request!1953NXCALS-7588 fills retrieved as objects in PyTimber
......@@ -131,6 +131,13 @@ class TestFill:
FILLS_NUMBER - 1,
FIRST_FILL,
),
(
START_TIME,
END_TIME,
None,
FILLS_NUMBER - 1,
FIRST_FILL,
),
],
)
def test_get_lhc_fills_by_time(
......
......@@ -61,7 +61,7 @@ class FillManager:
) -> List[Dict[str, Any]]:
fills = self._get_fills(from_time, to_time)
if not beam_modes:
return fills
return [_to_fill(f) for f in fills]
modes = (
[mode.strip() for mode in beam_modes.split(",")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment