Skip to content

Commit

Permalink
edit parameter description
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jun 28, 2024
1 parent 5c54c7e commit 87ef8ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmem_plugin_reason/plugin_reason.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
param_type=BoolParameterType(),
name="annotate_inferred_axioms",
label="Annnotate inferred subclass axioms",
description="Annotate inferred subclass axioms. ⚠️ This parameter can only be set to "
description="Annotate inferred subclass axioms. ⚠️ This parameter can only be enabled "
"true if the only enabled axiom generator is SubClass.",
default_value=False,
advanced=True,
Expand Down Expand Up @@ -243,8 +243,8 @@ def __init__( # noqa: PLR0913
errors += "No axiom generator selected. "
if annotate_inferred_axioms and [k for k, v in self.axioms.items() if v] != ["SubClass"]:
errors += (
'Parameter "Annnotate inferred subclass axioms" can only be set to true if the '
"only enabled axiom generator is SubClass. "
'Parameter "Annnotate inferred subclass axioms" can only be enabled if the only '
"enabled axiom generator is SubClass. "
)
if max_ram_percentage not in range(1, 101):
errors += 'Invalid value for parameter "Maximum RAM Percentage". '
Expand Down

0 comments on commit 87ef8ab

Please sign in to comment.