We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e897f commit 93f8f07Copy full SHA for 93f8f07
src/dodal/devices/util/lookup_tables.py
@@ -27,7 +27,7 @@ async def energy_distance_table(lookup_table_path: str) -> np.ndarray:
27
28
# Slight cheat to make the file IO async, numpy doesn't do any real IO now, just
29
# decodes the text
30
- async with aiofiles.open(lookup_table_path, "r") as stream:
+ async with aiofiles.open(lookup_table_path) as stream:
31
raw_table = await stream.read()
32
return loadtxt(StringIO(raw_table), comments=["#", "Units"])
33
0 commit comments