2015 Summer Project Week:Python scripts from command line

From NAMIC Wiki
Jump to: navigation, search
Home < 2015 Summer Project Week:Python scripts from command line

Key Investigators

  • Andrey Fedorov, BWH
  • Steve Pieper, Isomics
  • Robin Weiss, U. Chicago
  • Artem Mamonov, MGH

Project Description

Objective

  • discuss the approach and the effort involved to allow running Slicer python scripts without the need of X11
  • identify how important is this issue, and how limiting are the proposed workarounds

Approach, Plan

  • identify use cases
  • identify difficulties
  • identify workarounds or proper solution and effort involved

Progress

  • see this and this discussion threads for background information
    • essentially, the solution is to install Xvfb that virtualizes X11
  • Raul's solution: implement functionality outside Slicer and make it independent from get-go, then provide GUI integration with Slicer as an add-on
    • drawback: cannot reuse Slicer modules logic, IO tools