Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converter star slash improvements #1478

Merged
merged 10 commits into from
Sep 15, 2022
Merged

Conversation

germa89
Copy link
Collaborator

@germa89 germa89 commented Sep 9, 2022

Implements only_commands kwarg to make it easier parse only commands, not scripts.

Fix the conversion of commands which starts with / or *.

Added unit tests.

Close #1471

@germa89 germa89 self-assigned this Sep 9, 2022
@germa89 germa89 added BUG Issue, problem or error in PyMAPDL Enhancement Improve any current implemented feature New Feature Request or proposal for a new feature labels Sep 9, 2022
@germa89 germa89 added this to the v0.63.3 milestone Sep 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2022

Please add one of the following labels to add this contribution to the Release Notes 👇

@codecov
Copy link

codecov bot commented Sep 12, 2022

Codecov Report

Merging #1478 (760eb84) into main (284fca2) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1478      +/-   ##
==========================================
+ Coverage   80.58%   80.64%   +0.06%     
==========================================
  Files          43       43              
  Lines        6813     6830      +17     
==========================================
+ Hits         5490     5508      +18     
+ Misses       1323     1322       -1     

Copy link
Collaborator Author

@germa89 germa89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Collaborator Author

@germa89 germa89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@germa89 germa89 merged commit c78ca04 into main Sep 15, 2022
@germa89 germa89 deleted the feat/converter-star-slash-improvements branch September 15, 2022 15:36
germa89 added a commit that referenced this pull request Oct 11, 2022
* Adding only_commands option to converter.

* Adding unit tests

* fixing trailing commas issue

* Removing unnecessary copy

* Fixing unit tests.

Changing variables names.

* Another improvement

* Changing variables name.

* Changing variable name to lower caps.

* Update tests/test_convert.py
germa89 added a commit that referenced this pull request Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Issue, problem or error in PyMAPDL Enhancement Improve any current implemented feature New Feature Request or proposal for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

converter_script skipping empty variables
2 participants