Class: SpectrumScore
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SpectrumScore
- Defined in:
- lib/msf/models/spectrum_score.rb
Overview
ActiveRecord model of MSF SpectrumScore
Example:
SpectrumScore.first.protein_score
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
10 11 12 |
# File 'lib/msf/models/spectrum_score.rb', line 10 def self.primary_key [:ProcessingNodeNumber, :SpectrumID] end |
.table_name ⇒ Object
7 8 9 |
# File 'lib/msf/models/spectrum_score.rb', line 7 def self.table_name :SpectrumScores end |
Instance Method Details
#processing_node_number ⇒ Object
13 14 15 |
# File 'lib/msf/models/spectrum_score.rb', line 13 def processing_node_number self.ProcessingNodeNumber end |
#score ⇒ Object
19 20 21 |
# File 'lib/msf/models/spectrum_score.rb', line 19 def score self.Score end |
#spectrum_id ⇒ Object
16 17 18 |
# File 'lib/msf/models/spectrum_score.rb', line 16 def spectrum_id self.SpectrumID end |