From 87ef8ab1b38d8bf4f3ec9a215d8ddcbdd26bdf21 Mon Sep 17 00:00:00 2001 From: muddymudskipper Date: Fri, 28 Jun 2024 11:24:26 +0100 Subject: [PATCH] edit parameter description --- cmem_plugin_reason/plugin_reason.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmem_plugin_reason/plugin_reason.py b/cmem_plugin_reason/plugin_reason.py index 7e05ea4..445ba1d 100644 --- a/cmem_plugin_reason/plugin_reason.py +++ b/cmem_plugin_reason/plugin_reason.py @@ -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, @@ -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". '