Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Sep 6, 2024
1 parent a6e897f commit 93f8f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dodal/devices/util/lookup_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async def energy_distance_table(lookup_table_path: str) -> np.ndarray:

# Slight cheat to make the file IO async, numpy doesn't do any real IO now, just
# decodes the text
async with aiofiles.open(lookup_table_path, "r") as stream:
async with aiofiles.open(lookup_table_path) as stream:
raw_table = await stream.read()
return loadtxt(StringIO(raw_table), comments=["#", "Units"])

Expand Down

0 comments on commit 93f8f07

Please sign in to comment.