SCIRun
SCIRun copied to clipboard
console multi-line parsing
this probably relates to the fixes from #1530. When trying to execute an if statement or a for loop in the python console, the lines the context is removed, making it impossible to run these type of functions. This affects the top-level functionality in IWP and I think the triggered events.
Stale issue message
@jessdtate I'll need some examples posted--my python bug memory space is only like 24Kb
this can be as simple as:
for k in range(5):
print(k)
Trying to run code like this in the console window or top-level tab of interfacewithpython will exit out of the loop after the for k in range(5):
line, so it is impossible to do significant loop or if statement.
The one I wanted to use in the IWP top level tab, but could not, is
if not 'eng' in vars():
eng = matlab.engine.start_matlab() #could be any assignment
This issue is stale because it has been open 240 days with no activity. Remove the stale label or comment, or this will be closed in 60 days.
This issue is stale because it has been open 240 days with no activity. Remove the stale label or comment, or this will be closed in 60 days.