Class: Wrnap::Package::FftMfpt

Inherits:
Base
  • Object
show all
Defined in:
lib/wrnap/package/fft_mfpt.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#data, #flags, #response, #runtime

Instance Method Summary collapse

Methods inherited from Base

bootstrap, #debugger, #initialize, #inspect

Methods included from Global::Yaml

#deserialize, #serialize

Methods included from Global::Chainer

included

Methods included from Global::Runner

included

Constructor Details

This class inherits a constructor from Wrnap::Package::Base

Instance Attribute Details

#mfptObject (readonly)

Returns the value of attribute mfpt.



19
20
21
# File 'lib/wrnap/package/fft_mfpt.rb', line 19

def mfpt
  @mfpt
end

Instance Method Details

#post_processObject



27
28
29
# File 'lib/wrnap/package/fft_mfpt.rb', line 27

def post_process
  @mfpt = response.to_f
end

#run_command(flags) ⇒ Object



21
22
23
24
25
# File 'lib/wrnap/package/fft_mfpt.rb', line 21

def run_command(flags)
  Wrnap.debugger { "Running #{exec_name} on #{data.inspect}" }

  "%s %s" % [exec_name, stringify_flags(flags)]
end