Class CaminoFunctions

java.lang.Object
mgui.interfaces.Utility
mgui.neuro.imaging.camino.CaminoFunctions

public class CaminoFunctions
extends Utility
  • Field Details

    • output_file

      public static java.lang.String output_file
    • root_dir

      public static java.lang.String root_dir
    • input_file

      public static java.lang.String input_file
    • temp_input

      public static java.lang.String temp_input
    • temp_output

      public static java.lang.String temp_output
    • temp_count

      public static int temp_count
    • fail_on_exception

      public static boolean fail_on_exception
  • Constructor Details

    • CaminoFunctions

      public CaminoFunctions()
  • Method Details

    • launchCaminoProcess

      public static boolean launchCaminoProcess​(CaminoProcess command, java.lang.String args)
    • init

      public static void init()
    • reset

      public static void reset()
    • launchCaminoProcess

      public static boolean launchCaminoProcess​(PipelineProcessInstance process)
    • launchCaminoProcess

      public static boolean launchCaminoProcess​(PipelineProcessInstance process, boolean blocking)
    • stopExecution

      public static boolean stopExecution()
    • launchCaminoProcess

      public static boolean launchCaminoProcess​(PipelineProcessInstance process, java.lang.String subject, java.lang.String root)
    • launchCaminoProcess

      public static boolean launchCaminoProcess​(PipelineProcessInstance process, java.lang.String subject, java.lang.String root, java.lang.String logger)
    • launchCaminoProcess

      public static boolean launchCaminoProcess​(PipelineProcessInstance process, java.lang.String subject, java.lang.String root, java.lang.String logger, boolean blocking)
    • launchBlockingCaminoProcess

      public static boolean launchBlockingCaminoProcess​(PipelineProcessInstance process, java.lang.String subject, java.lang.String root, java.lang.String logger)
    • getArgString

      public static java.lang.String getArgString​(java.lang.String[] args)
    • parseArg

      public static java.util.ArrayList<java.lang.String> parseArg​(java.lang.String arg)
    • resetDefaults

      public static void resetDefaults()
      Since Camino was built to be run from the command line, its static CL_Initializer and OutputManager classes are meant to be reinstantiated upon each function call. Since we want to call Camino functions directly, from within the same JVM instance, we need to initialize the variables manually to their defaults, which many processes assume.
    • parseArg

      public static java.util.ArrayList<java.lang.String> parseArg​(java.lang.String arg, java.lang.String subject, java.lang.String root)
    • deleteTempFiles

      public static boolean deleteTempFiles()
    • exceptionEncountered

      public static void exceptionEncountered()