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
2 changes: 1 addition & 1 deletion src/ansys/mapdl/core/mapdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2428,7 +2428,7 @@ def run(self, command, write_to_log=True, mute=None, **kwargs) -> str:
# We are storing a parameter.
param_name = command.split("=")[0].strip()

if "'" not in param_name or '"' not in param_name:
if "/COM" not in cmd_ and "/TITLE" not in cmd_:
# Edge case. `\title, 'par=1234' `
self._check_parameter_name(param_name)

Expand Down
6 changes: 6 additions & 0 deletions tests/test_mapdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1374,3 +1374,9 @@ def test_plot_empty_mesh(mapdl, cleared):

with pytest.warns(UserWarning):
mapdl.eplot(vtk=True)


def test_equal_in_comments_and_title(mapdl):
mapdl.com("=====")
mapdl.title("This is = ")
mapdl.title("This is '=' ")