Closed
Description
Describe the bug
load_table results in an MAPDL table with one fewer rows than expected. The last row of data from the inputted np.array is missing.
To Reproduce
Steps to reproduce the behavior:
- Go to https://mapdldocs.pyansys.com/api/_autosummary/ansys.mapdl.core.Mapdl.load_table.html?highlight=load_table
- Test example at bottom of page.
Expected behavior
Expected return is:
array([0.001, 0.001, 0.005, 0.005, 0.002, 0.002])
System Information:
- OS: Window 10 build 19043
- Ansys version 2021 R2 and 2022 R1
- PyMAPDL version 0.60.6
Run a PyMAPDL report
Please run the following code wherever you are experiencing the bug and paste the output below. This report helps us track down bugs and it is critical to addressing your bug:
from ansys.mapdl import core as pymapdl
print(pymapdl.Report())
# Paste your results here
-------------------------------------------------------------------------------
PyMAPDL Software and Environment Report
-------------------------------------------------------------------------------
Date: Wed Feb 09 19:12:07 2022 Mountain Standard Time
OS : Windows
CPU(s) : 16
Machine : AMD64
Architecture : 64bit
Environment : Python
File system : unknown
NVIDIA Corporation : GPU Vendor
NVIDIA RTX A2000 Laptop GPU/PCIe/SSE2 : GPU Renderer
4.5.0 NVIDIA 472.88 : GPU Version
Python 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) [MSC v.1929 64 bit
(AMD64)]
matplotlib : 3.5.1
numpy : 1.22.0
pyvista : 0.33.2
appdirs : 1.4.4
tqdm : 4.62.3
pyiges : 0.2.1
scipy : 1.7.3
grpc : 1.43.0
ansys.api.mapdl.v0 : 0.4.1
ansys.mapdl.reader : 0.51.8
google.protobuf : 3.19.3
-------------------------------------------------------------------------------
Ansys Installation
******************
Version Location
------------------
212 C:\Program Files\ANSYS Inc\v212
221 C:\Program Files\ANSYS Inc\v221
Ansys Environment Variables
***************************
ANSYS212_DIR C:\Program Files\ANSYS Inc\v212\ANSYS
ANSYS221_DIR C:\Program Files\ANSYS Inc\v221\ANSYS
ANSYS221_PRODUCT ' '
ANSYSCLOUDCLI_ROOT C:\Program Files\ANSYS Inc\ANSYS Cloud\ANSYS Cloud CLI\
ANSYSELECTRON_ROOT C:\Program Files\ANSYS Inc\ANSYS Cloud\ANSYS Electron\
ANSYSLIC_DIR C:\Program Files\ANSYS Inc\Shared Files\Licensing
AWP_LOCALE212 en-us
AWP_LOCALE221 en-us
AWP_ROOT212 C:\Program Files\ANSYS Inc\v212
AWP_ROOT221 C:\Program Files\ANSYS Inc\v221
CADOE_LIBDIR212 C:\Program Files\ANSYS Inc\v212\CommonFiles\Language\en-us
CADOE_LIBDIR221 C:\Program Files\ANSYS Inc\v221\CommonFiles\Language\en-us
Metadata
Metadata
Assignees
Labels
No labels