2008 Summer Project Week:ModuleChaining

From NAMIC Wiki
Jump to: navigation, search
Home < 2008 Summer Project Week:ModuleChaining



Key Investigators

  • UCSD: Marco Ruiz, Chris Churas, Jeff Grethe
  • Isomics: Steve Pieper
  • GE: Jim Miller


Objective

To create a standard infrastructure for Slicer3 to support sequential module chaining functionality. This functionality includes features such as allowing the user to describe an ordered set of modules to execute one after another, which outputs to pipe as inputs of future module invocations and how to render the Slicer3 UI to gather the required parameters of the "chain". All of this done leveraging on the standard execution module to require minimal user input.

Approach, Plan

The first prototype has been developed as an independent engine system in Java. This will serve to provide a "proof of concept" type of grounds to evaluate and refine current and new ideas, in order to create a standard, full-feature version of this engine embedded into Slicer3.

Progress

Technical details of this effort are being documented at: Slicer3:Chain_CLMs



References

  • Example Shell Script to chain two modules and expose the result as a CLI:

http://www.na-mic.org/ViewVC/index.cgi/trunk/Modules/CommandLineModule/Testing/CLI-shell.sh?annotate=6987

    • Note, this shell script is not cross platform - the bundled tcl or python interp should be used instead of /bin/sh