Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/3854.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: specify type for click options in convert.py
4 changes: 4 additions & 0 deletions src/ansys/mapdl/core/cli/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"--loglevel",
"-ll",
default="WARNING",
type=str,
help="Logging level of the ansys object within the script.",
)
@click.option(
Expand Down Expand Up @@ -153,6 +154,7 @@
"--header",
"-h",
default=True,
type=bool,
help="If ``True``, the default header is written in the first line of the output. If a string is provided, this string will be used as header.",
)
@click.option(
Expand Down Expand Up @@ -184,13 +186,15 @@
@click.option(
"--clear_at_start",
default=False,
type=bool,
help="""Add a `mapdl.clear()` after the Mapdl object initialization. Defaults to
`False`.""",
)
@click.option(
"--check_parameter_names",
"--cpn",
default=False,
type=bool,
help="""Set MAPDL object to avoid parameter name checks (do not raise leading underscored parameter exceptions). Defaults to `False`.""",
)
def convert(
Expand Down
Loading