mfitzp / pathomx

Workflow based scientific analysis built on Python
https://www.mfitzp.com/tools/pathomx/
GNU General Public License v3.0
91 stars 30 forks source link

Plugin: Python code #2

Closed mfitzp closed 10 years ago

mfitzp commented 10 years ago

Pathomx allows connection of multiple simple tools into complex workflows. But analysis can be limited by the availability of a defined tool for a given task. As Pathomx ships with the entire numpy/scipy stack it would be nice to have this available for users.

This enhancement requires development of a code editor that can take inputs from the defined tool input ports and output the results to the outputs (customiseable) views. The structure of the tool generator code is such that this is relatively simple to achieve.

Interface requirements: PyQt Python code editor (an implementation of this is available) and a UI for input and output port definition (the former will require some method for limiting accepted inputs; but this may be left for future development).

Internal code requirements: The code will be run with Python eval while importing a number of useful tools including numpy, scipy, nmrglue, etc. This is of course horribly unsafe and so the code will follow the example of remote-service tools and default to auto-pause and warnings.

This is a bitesize task for developers interested in joining Pathomx development.

mfitzp commented 10 years ago

Implemented.