#!/usr/bin/env ruby # Part of the Optimus package for managing E-Prime data # # Copyright (C) 2008 Board of Regents of the University of Wisconsin System # # Written by Nathan Vack , at the Waisman Laborotory for Brain # Imaging and Behavior, University of Wisconsin - Madison require 'rubygems' require 'optparse' gem 'optimus-ep' require 'runners/generic_runner' script_name = File.basename(__FILE__) begin txr = Eprime::Runners::GenericRunner.new(Eprime::Transformers::TimingExtractor, script_name, ARGV) txr.process! rescue ArgumentError => e STDERR.puts e.message exit 1 rescue Exception => e STDERR.puts e.message exit 2 end