Skip to content

Commit 2b9f478

Browse files
committed
Add hook for epu session
1 parent 6bfade7 commit 2b9f478

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/murfey/client/context.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ def ensure_dcg_exists(
4949
elif collection_type == "spa":
5050
experiment_type_id = 37
5151
session_file = metadata_source / "EpuSession.dm"
52+
for h in entry_points(group="murfey.hooks"):
53+
if h.name == "get_epu_session":
54+
h.load()(session_file, environment=environment)
5255
else:
5356
logger.error(f"Unknown collection type {collection_type}")
5457
return

0 commit comments

Comments
 (0)