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
running .continue as you would in IDL returns an error, not the plots, or the next bit of code, so essential this is just a report that the stop command doesn't work yet.
The text was updated successfully, but these errors were encountered:
Ok this was partially fixed in the last two commits. In order to get inline plots this kernel appends a post call to your code in the notebook cell that takes snapshots of open graphics windows and save them as pngs. Since you had a stop it never executed that code. This was partially fixed by having the graphics code run separately so that the graphics code will always run.
The reason this is not full fix is that after the stop it cant resume with .continue presumably because the cell input get printed to a temporary file and run using .run tmpfile. The reason for the tmp file was to allow writing procedures and functions.
A possible way to fix that is to write a parser that strips out the functions and procedures and treats them separately from the rest of the code.
Thanks for putting this together, great idea, install was easy and so far it's working great.
A small thing I've noticed, whenever I hit a stop in a procedure, the code returns without shown the plots up to that point.
For example, if I create a simple procedure based on the demo:
I run this in a cell, i.e.
then I have to run another cell with something in it (i.e. a print statement) to see the output figures, as seen in this example notebook:
http://nbviewer.ipython.org/gist/douglase/9f02bcb3287ea4131e4f
running .continue as you would in IDL returns an error, not the plots, or the next bit of code, so essential this is just a report that the stop command doesn't work yet.
The text was updated successfully, but these errors were encountered: