[X] I am using the latest version of PyMAPDL and its dependencies (fully updated virtual environment). You can update them using pip install --upgrade --upgrade-strategy eager ansys-mapdl-core in your activated virtual environment.
🔍 Description of the bug
The input file converter does not add the necessary single quotes to two fields in MSTOLE. For example from VM271 this MAPDL command:
MSTOLE,1,'COM152','COM116'
Is converted to:
mapdl.mstole(1, "COM152", "COM116")
Instead of this:
mapdl.mstole(1, " 'COM152' ", " 'COM116' ")
I added spaces between the " and ' just to make it easier to read.
mike
🕵️ Steps To Reproduce
The log will automatically be formatted as Python code! No need to type backticks.
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.10
💾 Which MAPDL version are you using?
2023 R2
📝 PyMAPDL Report
Show the Report!
```text
# PASTE HERE THE OUTPUT OF `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` here
```
📝 Installed packages
Show the installed packages!
```text
# PASTE HERE THE OUTPUT OF `python -m pip freeze` here
```
📝 Logger output file
Show the logger output file.
```text
# PASTE HERE THE CONTENT OF THE LOGGER OUTPUT FILE.
```
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
in your activated virtual environment.🔍 Description of the bug
The input file converter does not add the necessary single quotes to two fields in MSTOLE. For example from VM271 this MAPDL command:
MSTOLE,1,'COM152','COM116'
Is converted to:
Instead of this:
I added spaces between the " and ' just to make it easier to read. mike
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.10
💾 Which MAPDL version are you using?
2023 R2
📝 PyMAPDL Report
Show the Report!
```text # PASTE HERE THE OUTPUT OF `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` here ```📝 Installed packages
Show the installed packages!
```text # PASTE HERE THE OUTPUT OF `python -m pip freeze` here ```📝 Logger output file
Show the logger output file.
```text # PASTE HERE THE CONTENT OF THE LOGGER OUTPUT FILE. ```