We should be able to run python scripts in OOF2. This will permit us to run parametric studies and to develop NanoHUB tools that use OOF2 as a FEM library.
Tags:
OOF2, python, scripting, Finite Element Method/Analysis (FEM)
This is most likely a security issue. Allowing arbitrary Python scripts to execute inside a nanoHUB tool which is visible to the whole world would be potentially dangerous. Is it possible to develop a standalone Python program which uses the OOF library? Such a script could safely power a nanoHUB tool.
I would expect that it is possible to blend in the safety technology used for the vkmllive tool with OOF2. I don’t know if this should be done at nanoHUB or NIST. There is already a nanoHUB build option the removes the python console from use.
I think this would be the best option. If the safety module can be built in to OOF, users could run Python scripts within OOF, to prototype code which might later be deployed as a standalone tool, using OOF as a library.
Is it possible to install a full version of OOF2 for usage only within the NanoHUB workspace? It would help us develop python code that actually works in OOF2. This could also work as an intermediate step before putting together standalone python code. I must admit that I have no experience with standalone python codes and this is why having the script function active in OOF2 would make my work easier.
Edwin Garcia at on
I agree. This is an important shortcoming to the web-version of OOF2, and certainly limit the possibilities of what can be done with this code.
Reply Report abuse
Please login to comment.
Benjamin P Haley at on
This is most likely a security issue. Allowing arbitrary Python scripts to execute inside a nanoHUB tool which is visible to the whole world would be potentially dangerous. Is it possible to develop a standalone Python program which uses the OOF library? Such a script could safely power a nanoHUB tool.
Reply Report abuse
Please login to comment.
Steven Clark at on
I would expect that it is possible to blend in the safety technology used for the vkmllive tool with OOF2. I don’t know if this should be done at nanoHUB or NIST. There is already a nanoHUB build option the removes the python console from use.
Reply Report abuse
Please login to comment.
Benjamin P Haley at on
I think this would be the best option. If the safety module can be built in to OOF, users could run Python scripts within OOF, to prototype code which might later be deployed as a standalone tool, using OOF as a library.
Reply Report abuse
Please login to comment.
Denis O Torres at on
Is it possible to install a full version of OOF2 for usage only within the NanoHUB workspace? It would help us develop python code that actually works in OOF2. This could also work as an intermediate step before putting together standalone python code. I must admit that I have no experience with standalone python codes and this is why having the script function active in OOF2 would make my work easier.
Reply Report abuse
Please login to comment.
Tanya Faltens at on
It is now possible to write Python code inside the OOF2 tool.
Reply Report abuse
Please login to comment.
Tanya Faltens at on
It is now possible to write Python code inside the OOF2 tool.
Reply Report abuse
Please login to comment.