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
@blumenstiel I don't remember to pros and cons completely, but when decided to convert notebooks to python over using ipython, from a user perspective we loose the capability to mix shell code into python code in a convenient (per cell) basis and also share variables between them
On the converted python code I get
File "/opt/app-root/src/s1preprocess.py", line 59, in <module>
get_ipython().system('gpt terrainP.xml -Pfile={zipfile} -Ptarget={output_target}')
AttributeError: 'NoneType' object has no attribute 'system'
In addition I doubt {zipfile} would be properly replaced
The text was updated successfully, but these errors were encountered:
@romeokienzler So we want ipython as an additional command type or is there another way?
We convert notebooks to reduce the maintenance but if we loose functionality we should not do that.
For the grid wrapper wie might want to exclude notebooks, because the grid wrapper is only working correctly when the component includes a main function. So it makes sense that the user needs to write a short python script to call the notebook.
Yes, please use ipython for notebooks, we do not only Lois functionality but also get back errors in lines of python code which is transient to the user (need to run the container image to inspect that python code)
the grid wrapper is only working correctly when the component includes a main function.
@blumenstiel I don't remember to pros and cons completely, but when decided to convert notebooks to python over using ipython, from a user perspective we loose the capability to mix shell code into python code in a convenient (per cell) basis and also share variables between them
On the converted python code I get
In addition I doubt {zipfile} would be properly replaced
The text was updated successfully, but these errors were encountered: