arokem/python-matlab-bridge

line variable is undefined

Opened this issue · 5 comments

In set_matlab_var(...) method, the MatlabInterperterError(line, run_dict['content']['stdout']) exception can be raised but the variable "line" is undefined in this context.

Thanks for noticing this! What code did you run to get to this point? I am trying to trigger this with the code in #225, but I can't get to that particular bit, because I get a KeyError thrown a few lines too early.

As far as I remember, I don't think I got to this point while executing some code. I was just reviewing the code to find the solution to an unrelated problem and I've seen that there was a bug there so I reported it.

OK - thanks for reporting. I agree that it is a bug, albeit one that would never be triggered :-)

lol Maybe. I would just have correct it on the fly if I had the credentials.

Best,

Christian

2015-10-10 15:30 GMT+02:00 Ariel Rokem notifications@github.com:

OK - thanks for reporting. I agree that it is a bug, albeit one that would
never be triggered :-)


Reply to this email directly or view it on GitHub
#215 (comment)
.

A pull request would be welcome.

On Sat, Oct 10, 2015 at 8:44 AM, christian-oreilly <notifications@github.com

wrote:

lol Maybe. I would just have correct it on the fly if I had the
credentials.

Best,

Christian

2015-10-10 15:30 GMT+02:00 Ariel Rokem notifications@github.com:

OK - thanks for reporting. I agree that it is a bug, albeit one that
would
never be triggered :-)


Reply to this email directly or view it on GitHub
<
#215 (comment)

.


Reply to this email directly or view it on GitHub
#215 (comment)
.