Skip to content

Fix/lsread to non interactive #1384

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

Merged
merged 8 commits into from
Aug 22, 2022
Merged

Fix/lsread to non interactive #1384

merged 8 commits into from
Aug 22, 2022

Conversation

germa89
Copy link
Collaborator

@germa89 germa89 commented Aug 22, 2022

Implemented LSREAD to run in non_interactive mode if called as mapdl.lsread

If called mapdl.run("LSREAD,1") our outside non_interactive context manager, it will raise a RuntimeError.

Close #1383 #1354

@germa89 germa89 added this to the v0.63.2 milestone Aug 22, 2022
@germa89 germa89 self-assigned this Aug 22, 2022
@germa89 germa89 requested a review from akaszynski August 22, 2022 16:54
@germa89
Copy link
Collaborator Author

germa89 commented Aug 22, 2022

Thank you for the changes @akaszynski

@germa89 germa89 enabled auto-merge (squash) August 22, 2022 18:59
@codecov
Copy link

codecov bot commented Aug 22, 2022

Codecov Report

Merging #1384 (0224387) into main (bb27679) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1384      +/-   ##
==========================================
+ Coverage   76.64%   76.67%   +0.02%     
==========================================
  Files          43       43              
  Lines        6860     6873      +13     
==========================================
+ Hits         5258     5270      +12     
- Misses       1602     1603       +1     

@germa89 germa89 merged commit ca3a316 into main Aug 22, 2022
@germa89 germa89 deleted the fix/lsread-to-non-interactive branch August 22, 2022 20:48
germa89 added a commit that referenced this pull request Sep 1, 2022
* Adding LSREAD to non-allowed interactive cmd

Also wrapping LSREAD in non-interactive context manager.

* Adding unit test.

* Updating docs and docstring.

* Double checking unit test.

* Missing in.

* add example; improve test

* Fixing unit test

* fixing unit test

Co-authored-by: Alex Kaszynski <[email protected]>
germa89 added a commit that referenced this pull request Sep 1, 2022
germa89 added a commit that referenced this pull request Sep 1, 2022
* Adding LSREAD to non-allowed interactive cmd

Also wrapping LSREAD in non-interactive context manager.

* Adding unit test.

* Updating docs and docstring.

* Double checking unit test.

* Missing in.

* add example; improve test

* Fixing unit test

* fixing unit test

Co-authored-by: Alex Kaszynski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update LSREAD docs
2 participants