Class: HTML_Table_of_Peak_Picking_Log

Inherits:
HTML_Table
  • Object
show all
Defined in:
lib/html_table_of_peak_picking_log.rb

Instance Method Summary collapse

Methods inherited from HTML_Table

#render, #save

Constructor Details

#initialize(batch_folderpath, sample_index, analyte_name, chromatogram_type) ⇒ HTML_Table_of_Peak_Picking_Log

Returns a new instance of HTML_Table_of_Peak_Picking_Log.



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/html_table_of_peak_picking_log.rb', line 6

def initialize(batch_folderpath,sample_index,analyte_name,chromatogram_type)

  log = ExeCppLogReader.new(batch_folderpath,sample_index,analyte_name,chromatogram_type)
  retcode,rundetails = log.run

  unless !retcode
    arrData = build_json rundetails[:stdout]['peak_list']
    super(arrData)
  end


end