Skip to content

Commit 0c15f8f

Browse files
committed
Pass EPU metadata hook the instrument token
1 parent c374a6b commit 0c15f8f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/murfey/client/context.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ def ensure_dcg_exists(
5252
for h in entry_points(group="murfey.hooks"):
5353
try:
5454
if h.name == "get_epu_session_metadata":
55-
h.load()(session_file, environment=environment, token=token)
55+
h.load()(
56+
destination_dir=session_file.parent,
57+
environment=environment,
58+
token=token,
59+
)
5660
except Exception as e:
5761
logger.warning(f"Get EPU session hook failed: {e}")
5862
else:

0 commit comments

Comments
 (0)