I execute a script by (1) running it from the script editor, or (2) executing a script icon instance in the global context.
Both executions result in the "same" computation, but the text in the console log differs on Win 7 1123.
Here is an example of the issue. The script executes the Resample process as part of its computation.
In case (1), console log text associated with the Resample looks like this:
<previous console log output ...>
Resample: Processing view: g_band_wavefront_contour_plot
Resampling to 501x501 px, Bicubic interpolation, Mitchell-Netravali cubic filter (5x5): done
0.0620 s
<subsequent console log output...>
In case (2), it looks like this:
<previous console log output ...>
Resampling to 501x501 px, Bicubic interpolation, Mitchell-Netravali cubic filter (5x5): done
<subsequent console log output...>
59.94 s
Notice that the "Resample: Processing view: ..." line is missing. Also missing is the preceding blank line.
And more strangely is that the time associated with the Resample is not logged until much later in the log, and its values is much larger.
It appears that process lines are getting lost and/or scrambled in the log.
This is not a huge issue, I can live with it. But I am now capturing console log text via Console.endLog() for documentation purposes and it would be nice to have better consistency.
Thanks,
Mike