Skip to content

Commit

Permalink
corrected small error in schema scikit-learn.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoEg committed Sep 17, 2024
1 parent fbb42bb commit f9e3bc5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ additionalProperties: false

------

{% if package == "conda" %}
{% if packager == "conda" %}
conda create -n sklearn-env -c conda-forge scikit-learn
conda activate sklearn-env
{% else %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def _get_flags_and_options(schema: dict, misc: dict = None, inst: bool = False)
is_flag=(option_type == click.BOOL)
if is_flag and required:
option_name = option_name + "/--no-{}".format(pretty_key)

if not inst:
alt_default[key]=option_default
required = False
Expand Down
1 change: 0 additions & 1 deletion installation_instruction/installation_instruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def validate_and_render(self, input: dict) -> tuple[list[str], bool]:
:raise Exception: If schema or user input is invalid.
"""
validate(input, self.schema)

try:
instruction = self.template.render(input)
except UndefinedError as e:
Expand Down

0 comments on commit f9e3bc5

Please sign in to comment.