Skip to content

Commit

Permalink
Renaming req
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Nov 14, 2024
1 parent 603e75a commit 48b8cfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions armi/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,12 @@ def beforeReactorConstruction(cs) -> None:
Function to call before the reactor is constructed.
.. impl:: Plugins can inject code before reactor initialization.
:id: I_ARMI_PLUGIN_BEFORE_REACTOR_HOOK
:implements: R_ARMI_PLUGIN_BEFORE_REACTOR_HOOK
:id: I_ARMI_SETTINGS_BEFORE_REACTOR_HOOK
:implements: R_ARMI_SETTINGS_BEFORE_REACTOR_HOOK
This method allows for plugin developers to implement code after settings
are loaded but before the reactor is constructed. This hook is called
in :py:func:`armi.reactor.reactors.factory`.
This method allows for plugin developers to implement code after settings are loaded but
before the reactor is constructed. This hook is called in
:py:func:`armi.reactor.reactors.factory`.
"""

@staticmethod
Expand Down
4 changes: 2 additions & 2 deletions armi/tests/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ def test_beforeReactorConstructionHook(self):
"""Test that plugin hook successfully injects code before reactor initialization.
.. test:: Capture code in the beforeReactorConstruction hook from reactor construction being carried out.
:id: T_ARMI_PLUGIN_BEFORE_REACTOR_HOOK
:tests: R_ARMI_PLUGIN_BEFORE_REACTOR_HOOK
:id: T_ARMI_SETTINGS_BEFORE_REACTOR_HOOK
:tests: R_ARMI_SETTINGS_BEFORE_REACTOR_HOOK
"""
pm = getPluginManagerOrFail()
pm.register(BeforeReactorPlugin)
Expand Down

0 comments on commit 48b8cfc

Please sign in to comment.