Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/Boundary conditions listing wrappers (#819)
* Changed signal termination * Adding CommandOutput class. * Substituting the output in mapdl_grpc for custom class. * Making sure all the methods call the parent class (str) * Testing simplied version * Added unit tests * Added unit tests * Fixing the style * Fixing grammar. * Fixing grammar. * Merge branch 'feat/richer-command-output' of https://github.com/pyansys/pymapdl into feat/richer-command-output * Add test_class unit * Using first implementation because the second fail because of the modified `__getattribute_` * Changing implementation to not overwrite __class__. * Fixing sphinx building by rewriting __class__ method to not be overwriten. * Style check. * changing the API, cmd=command, and command= full command (cmd + args) * Adding CommandOutputDataframe class. * Small changes. * Big restructure. Now we detect the underlying data array based on a predefined magic word (start of data) and an empty line (end of data). * Added check if output is modified by /verify * Added docstrings to classes. * Moved fixtures to main conf file * Changed class name, added supported commands. Added support to Elist and Nlist * Added test units. * Added more unit test. * Fixing style. * small changes. * small change. * incorrect package name. * UserString Implementation * Simplification of unit test. * Simplification of unit test. * Using str as base class. * removed unused import. * Generalization of 'CommandListing' based on function 'paprnt.F'. * Apply suggestions from code review Co-authored-by: Alex Kaszynski <[email protected]> * Cleanning some commented code. Removed @command_checker since we are opting for individual wrapping. * Added automatical wrapper for listing functions. * Removed automatical wrapper. * Fixing style. * changed method name to `to_list` * Fixing style * Added unit test. * Fixing grammar. * Added dlist wrapper * Externalizing @requires_pandas Added DLIST class * Fixing conftest? * Improving unit test to avoid empty object false assertion. * Fixing unit test * replacing solve for one which does not change format. * checking format * Fixing unit test mess * testing disabling new test. * removing unused imports * removing unused imports * test * fixing wrong check against empty array and df * Removed unused import * Changing class name. * Cleaning * Cleaning again. * Fixing style. * Fixing style. * Update ansys/mapdl/core/commands.py Co-authored-by: Alex Kaszynski <[email protected]> * Added output checker * Adding suggestions. * Fixing wrong wrapper. * Improving test. * Moving the wrapping to main Mapdl, being common to gpc, console and corba. * Added docstring injector. * Apply suggestions from code review * Apply suggestions from code review * Replacing the check of the pandas package. Adding short doc string. * importing pandas lazily * removed trailing space. * Added docstring injector to dlist and flist * removing grpc wrapper * Adding unit test for docstring injector. * Added code suggestions. Co-authored-by: Alex Kaszynski <[email protected]>
- Loading branch information