Class: Rafflesia::AnmResidueFluctuation
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::AnmResidueFluctuation
- Defined in:
- lib/rafflesia/proteins/anm_residue_fluctuation.rb
Constant Summary collapse
- HASH_ATTRS =
{ auth_position: :auth_position, chain_id: :chain_id, observed_b_factor: :observed_b_factor, position: :position, predicted_b_factor: :predicted_b_factor, predicted_msf: :predicted_msf, residue: :residue, x: :x, y: :y, z: :z }.freeze
Instance Attribute Summary collapse
-
#auth_position ⇒ Object
Returns the value of attribute auth_position.
-
#chain_id ⇒ Object
Returns the value of attribute chain_id.
-
#observed_b_factor ⇒ Object
Returns the value of attribute observed_b_factor.
-
#position ⇒ Object
Returns the value of attribute position.
-
#predicted_b_factor ⇒ Object
Returns the value of attribute predicted_b_factor.
-
#predicted_msf ⇒ Object
Returns the value of attribute predicted_msf.
-
#residue ⇒ Object
Returns the value of attribute residue.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Method Summary collapse
-
#initialize(json) ⇒ AnmResidueFluctuation
constructor
A new instance of AnmResidueFluctuation.
Constructor Details
#initialize(json) ⇒ AnmResidueFluctuation
Returns a new instance of AnmResidueFluctuation.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 33 def initialize(json) super() hash = self.class.normalize(json) @auth_position = hash[:auth_position] @chain_id = hash[:chain_id] @observed_b_factor = hash[:observed_b_factor] @position = hash[:position] @predicted_b_factor = hash[:predicted_b_factor] @predicted_msf = hash[:predicted_msf] @residue = hash[:residue] @x = hash[:x] @y = hash[:y] @z = hash[:z] end |
Instance Attribute Details
#auth_position ⇒ Object
Returns the value of attribute auth_position.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def auth_position @auth_position end |
#chain_id ⇒ Object
Returns the value of attribute chain_id.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def chain_id @chain_id end |
#observed_b_factor ⇒ Object
Returns the value of attribute observed_b_factor.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def observed_b_factor @observed_b_factor end |
#position ⇒ Object
Returns the value of attribute position.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def position @position end |
#predicted_b_factor ⇒ Object
Returns the value of attribute predicted_b_factor.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def predicted_b_factor @predicted_b_factor end |
#predicted_msf ⇒ Object
Returns the value of attribute predicted_msf.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def predicted_msf @predicted_msf end |
#residue ⇒ Object
Returns the value of attribute residue.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def residue @residue end |
#x ⇒ Object
Returns the value of attribute x.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def y @y end |
#z ⇒ Object
Returns the value of attribute z.
21 22 23 |
# File 'lib/rafflesia/proteins/anm_residue_fluctuation.rb', line 21 def z @z end |