Module: JohnsonTbiLongitudinalSnodPreproc

Defined in:
lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.rb

Instance Method Summary collapse

Instance Method Details

#preproc_visitObject Also known as: perform

Runs the preprocessing job, including spm job customization, run spm job, and handling motion issues. This function assumes a destination directory is set up; it will overwrite preexisting data. Careful!



6
7
8
9
10
11
12
13
14
15
# File 'lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.rb', line 6

def preproc_visit
	flash "Spatial Preprocessing Subject: #{@subid}"
	setup_directory(@procdir, "PREPROC")
	
	Dir.chdir(@procdir) do
		link_files_into_proc
     run_preproc_mfile
		deal_with_motion
	end
end