Method: Reconstruction#initialize

Defined in:
lib/rpipe.rb

#initialize(workflow_spec, recon_spec) ⇒ Reconstruction

Instances are initialized with a properly configured hash containing all the information needed to drive reconstruction tasks. This hash is normally generated with a Pipe object.

Raises:

  • (ScriptError)


156
157
158
159
160
161
162
# File 'lib/rpipe.rb', line 156

def initialize(workflow_spec, recon_spec)
	super(workflow_spec, recon_spec)
	raise ScriptError, "At least one scan must be specified." if @scans.nil?
	@volume_skip = recon_spec['volume_skip'] || VOLUME_SKIP
	
	job_requires 'rawdir', 'origdir', 'scans'
end