from glob import glob import re import sys from os.path import * from setup_utils import parse_command_line, configure_python_paths # -------------------------------processing command line if len(sys.argv)>2: args = parse_command_line() else: # emulate command line command_line_emulation_argument_list = ['--subject','R1086M', '--task','RAM_FR1', '--workspace-dir','/scratch/busygin/FR1_reports_new_new', '--mount-point','', '--python-path','/home1/busygin/ram_utils_new_ptsa', '--python-path','/home1/busygin/python/ptsa_new' ] args = parse_command_line(command_line_emulation_argument_list) configure_python_paths(args.python_path) # ------------------------------- end of processing command line import numpy as np from RamPipeline import RamPipeline from RamPipeline import RamTask
# command line example: import sys from setup_utils import parse_command_line, configure_python_paths from os.path import join # -------------------------------processing command line if len(sys.argv)>2: args = parse_command_line() else: # emulate command line command_line_emulation_argument_list = ['--subject','R1121M', '--experiment','PS2', '--workspace-dir','/scratch/busygin/PS2_1000', '--mount-point','', '--python-path','/home1/busygin/ram_utils', '--python-path','/home1/busygin/python/ptsa/build/lib.linux-x86_64-2.7' ] args = parse_command_line(command_line_emulation_argument_list) configure_python_paths(args.python_path) # ------------------------------- end of processing command line import numpy as np from RamPipeline import RamPipeline from FR1EventPreparation import FR1EventPreparation from PSEventPreparation import PSEventPreparation