Pytave doesn't handle conversion of Octave array of strings
Bug #365423 reported by
Andrea Spadaccini
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pytave |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
In my Octave code I have an array like
a = ['t'; 'a'; 't'];
Pytave returns me only the first row. I can change the data format, but it should be fixed. I hope to have time to dig into the source code and maybe help you.
I'd add a new test case that fails, however:
testequal(['a', 'b', 'c'])
Have a nice day,
Andrea
Changed in pytave: | |
assignee: | nobody → individ |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
Thank you for your bug report. As there would be no intuitive way to construct two-dimensional strings in Python, I can't think of any reason to support such strings at all. Next version will throw a ValueConvertError when encountering returned two-dimensional strings. Cell arrays will be soon be supported, allowing you to several strings in one construct.