You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version(s) Affected
This was probably broken when the code was redone 2 years ago: f8cd674
Platform
Ubuntu
Matlab version R2020b. hmm that commit is labeled Fix for .. R2021A
Describe the bug
When passing arguments to mdsvalue using the java based mdsplus API an extra empty dimension (as far as MDSplus is concerned is added to the array)
To Reproduce
Steps to reproduce the behavior:
```>> x = mdsvalue('decompile(`$)', transpose([1,2,3,4,5]))
x =
"[[1D0,2D0,3D0,4D0,5D0]]"
mdsUsePython()
x = mdsvalue('decompile(`$)', [1,2,3,4,5])
x =
'[[1D0], [2D0], [3D0], [4D0], [5D0]]'
x = mdsvalue('decompile(`$)', transpose([1,2,3,4,5]))
x =
'[1D0,2D0,3D0,4D0,5D0]'
**Expected behavior**
If I use the python based api and I transpose the input then I get the correct result.
mdsUsePython()
x = mdsvalue('decompile(`$)', [1,2,3,4,5])
x =
'[[1D0], [2D0], [3D0], [4D0], [5D0]]'
x = mdsvalue('decompile(`$)', transpose([1,2,3,4,5]))
x =
'[1D0,2D0,3D0,4D0,5D0]'
The text was updated successfully, but these errors were encountered:
Affiliation
Massachusetts Institute of Technology
Version(s) Affected
This was probably broken when the code was redone 2 years ago:
f8cd674
Platform
Ubuntu
Matlab version R2020b.
hmm that commit is labeled Fix for .. R2021A
Describe the bug
When passing arguments to mdsvalue using the java based mdsplus API an extra empty dimension (as far as MDSplus is concerned is added to the array)
To Reproduce
Steps to reproduce the behavior:
```>> x = mdsvalue('decompile(`$)', transpose([1,2,3,4,5]))
x =
x =
x =
x =
x =
The text was updated successfully, but these errors were encountered: