We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6688044 commit 49eb3a8Copy full SHA for 49eb3a8
1 file changed
eb_hooks.py
@@ -1201,8 +1201,8 @@ def inject_gpu_property(ec):
1201
1202
def pre_module_hook(self, *args, **kwargs):
1203
"""Main pre module hook: trigger custom functions based on software name."""
1204
- if self.name in POST_MODULE_HOOKS:
1205
- POST_MODULE_HOOKS[self.name](self, *args, **kwargs)
+ if self.name in PRE_MODULE_HOOKS:
+ PRE_MODULE_HOOKS[self.name](self, *args, **kwargs)
1206
1207
# Always trigger this one, regardless of self.name
1208
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
0 commit comments