Class: ProcessingNode
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ProcessingNode
- Defined in:
- lib/msf/models/processing_node.rb
Overview
ActiveRecord model of MSF ProcessingNode
Example:
ProcessingNode.find(1)
ProcessingNode.first.node_name
ProcessingNode.find_by_NodeName('Mascot').peptides
ProcessingNode.find_by_NodeName('Mascot').protein_scores
ProcessingNode.find_by_NodeName('Mascot').spectrum_scores
Class Method Summary collapse
Instance Method Summary collapse
- #friendly_name ⇒ Object
- #major_version ⇒ Object
- #minor_version ⇒ Object
- #node_comment ⇒ Object
- #node_guid ⇒ Object
- #node_name ⇒ Object
- #processing_node_id ⇒ Object
- #processing_node_number ⇒ Object
- #processing_node_parent_number ⇒ Object
- #processing_node_state ⇒ Object
Class Method Details
.isobaric_tags ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/msf/models/processing_node.rb', line 47 def self. @isobaric_tags ||= { '113' => {'channel_id' => 1, 'mono_mass' => 113.107873, 'average_mass' => 113.1808}, '114' => {'channel_id' => 2, 'mono_mass' => 114.111228, 'average_mass' => 114.1735}, '115' => {'channel_id' => 3, 'mono_mass' => 115.108263, 'average_mass' => 115.1669}, '116' => {'channel_id' => 4, 'mono_mass' => 116.111618, 'average_mass' => 116.1595}, '117' => {'channel_id' => 5, 'mono_mass' => 117.114973, 'average_mass' => 117.1522}, '118' => {'channel_id' => 6, 'mono_mass' => 118.112008, 'average_mass' => 118.1456}, '119' => {'channel_id' => 7, 'mono_mass' => 119.115363, 'average_mass' => 119.1383}, '121' => {'channel_id' => 8, 'mono_mass' => 121.122072, 'average_mass' => 121.1236}, } end |
.primary_key ⇒ Object
14 15 16 |
# File 'lib/msf/models/processing_node.rb', line 14 def self.primary_key :ProcessingNodeNumber end |
.table_name ⇒ Object
11 12 13 |
# File 'lib/msf/models/processing_node.rb', line 11 def self.table_name :ProcessingNodes end |
Instance Method Details
#friendly_name ⇒ Object
29 30 31 |
# File 'lib/msf/models/processing_node.rb', line 29 def friendly_name self.FriendlyName end |
#major_version ⇒ Object
32 33 34 |
# File 'lib/msf/models/processing_node.rb', line 32 def major_version self.MajorVersion end |
#minor_version ⇒ Object
35 36 37 |
# File 'lib/msf/models/processing_node.rb', line 35 def minor_version self.MinorVersion end |
#node_comment ⇒ Object
38 39 40 |
# File 'lib/msf/models/processing_node.rb', line 38 def node_comment self.NodeComment end |
#node_guid ⇒ Object
41 42 43 |
# File 'lib/msf/models/processing_node.rb', line 41 def node_guid self.NodeGUID end |
#node_name ⇒ Object
26 27 28 |
# File 'lib/msf/models/processing_node.rb', line 26 def node_name self.NodeName end |
#processing_node_id ⇒ Object
20 21 22 |
# File 'lib/msf/models/processing_node.rb', line 20 def processing_node_id self.ProcessingNodeID end |
#processing_node_number ⇒ Object
17 18 19 |
# File 'lib/msf/models/processing_node.rb', line 17 def processing_node_number self.ProcessingNodeNumber end |
#processing_node_parent_number ⇒ Object
23 24 25 |
# File 'lib/msf/models/processing_node.rb', line 23 def processing_node_parent_number self.ProcessingNodeParentNumber end |
#processing_node_state ⇒ Object
44 45 46 |
# File 'lib/msf/models/processing_node.rb', line 44 def processing_node_state self.ProcessingNodeState end |