Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Nov 25, 2024
1 parent b8ccfae commit 5b7c413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dont_fret/web/datamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def get_bursts(

try:
photon_data = await self.get_photons(photon_node)
bursts = await self.run(full_search, photon_data, burst_colors, self.cfg)
bursts = await self.run(full_search, photon_data, burst_colors, self.cfg.hooks)

future.set_result(bursts)
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def test_burst_search():
assert new_node.bursts
burst_item = new_node.bursts[0]
assert burst_item.name == "DCBS"
assert burst_item.df.shape == (72, 22)
assert burst_item.df.shape == (72, 24)
assert burst_item.df["filename"].unique()[0] == "datafile_1.ptu"

await asyncio.sleep(0)
Expand Down

0 comments on commit 5b7c413

Please sign in to comment.