Skip to content

Do not ignore module-level SLME parameters.#1205

Merged
gouttegd merged 1 commit intomasterfrom
dont-ignore-module-level-slme-parameters
Apr 1, 2025
Merged

Do not ignore module-level SLME parameters.#1205
gouttegd merged 1 commit intomasterfrom
dont-ignore-module-level-slme-parameters

Conversation

@gouttegd
Copy link
Contributor

This PR changes the way the module-level module_type_slme and slme_individuals options are handled.

Specifically, we declare the module-level module_type_slme and slme_individuals options to be None by default.

This way, we can detect whether those options have been explicitly set for a given individual module, and if so, use their values instead of using the values from the group level. Otherwise, we set them to the group-level values.

Then, we can detect whether the SLME type of an individual module is different from the group-level SLME type, and make sure we generate a specific rule for that module in that case (fixing #1204 in the process).

closes #1204

Declare the module-level `module_type_slme` and `slme_individuals`
options to be None by default.

This way, we can detect whether those options have been explicitly set
for a given individual module, and if so, use their values instead of
using the values from the group level.

Then, we can detect whether the SLME type of an individual module is
different from the group-level SLME type, and make sure we generate a
specific rule for that module in that case.

closes #1204
@gouttegd gouttegd self-assigned this Mar 30, 2025
@gouttegd gouttegd requested a review from matentzn March 30, 2025 19:27
Copy link
Contributor

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great

@gouttegd gouttegd merged commit 8ac2004 into master Apr 1, 2025
1 check passed
@gouttegd gouttegd deleted the dont-ignore-module-level-slme-parameters branch April 1, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module-level module_type_slme option should yield a module-specific rule

2 participants