Class: Rafflesia::DockQData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DockQData
- Defined in:
- lib/rafflesia/proteins/dock_q_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, backend_binary_path: :backend_binary_path, backend_version: :backend_version, dockq: :dockq, fnat: :fnat, irmsd_angstrom: :irmsd_angstrom, is_backend_available: :is_backend_available, is_measurement_available: :is_measurement_available, lrmsd_angstrom: :lrmsd_angstrom, method: :method, query_structure_id: :query_structure_id, query_structure_object: :query_structure_object, target_structure_id: :target_structure_id, target_structure_object: :target_structure_object }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#backend_binary_path ⇒ Object
Returns the value of attribute backend_binary_path.
-
#backend_version ⇒ Object
Returns the value of attribute backend_version.
-
#dockq ⇒ Object
Returns the value of attribute dockq.
-
#fnat ⇒ Object
Returns the value of attribute fnat.
-
#irmsd_angstrom ⇒ Object
Returns the value of attribute irmsd_angstrom.
-
#is_backend_available ⇒ Object
Returns the value of attribute is_backend_available.
-
#is_measurement_available ⇒ Object
Returns the value of attribute is_measurement_available.
-
#lrmsd_angstrom ⇒ Object
Returns the value of attribute lrmsd_angstrom.
-
#method ⇒ Object
Returns the value of attribute method.
-
#query_structure_id ⇒ Object
Returns the value of attribute query_structure_id.
-
#query_structure_object ⇒ Object
Returns the value of attribute query_structure_object.
-
#target_structure_id ⇒ Object
Returns the value of attribute target_structure_id.
-
#target_structure_object ⇒ Object
Returns the value of attribute target_structure_object.
Instance Method Summary collapse
-
#initialize(json) ⇒ DockQData
constructor
A new instance of DockQData.
Constructor Details
#initialize(json) ⇒ DockQData
Returns a new instance of DockQData.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @backend_binary_path = hash[:backend_binary_path] @backend_version = hash[:backend_version] @dockq = hash[:dockq] @fnat = hash[:fnat] @irmsd_angstrom = hash[:irmsd_angstrom] @is_backend_available = hash[:is_backend_available] @is_measurement_available = hash[:is_measurement_available] @lrmsd_angstrom = hash[:lrmsd_angstrom] @method = hash[:method] @query_structure_id = hash[:query_structure_id] @query_structure_object = hash[:query_structure_object] @target_structure_id = hash[:target_structure_id] @target_structure_object = hash[:target_structure_object] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def backend @backend end |
#backend_binary_path ⇒ Object
Returns the value of attribute backend_binary_path.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def backend_binary_path @backend_binary_path end |
#backend_version ⇒ Object
Returns the value of attribute backend_version.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def backend_version @backend_version end |
#dockq ⇒ Object
Returns the value of attribute dockq.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def dockq @dockq end |
#fnat ⇒ Object
Returns the value of attribute fnat.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def fnat @fnat end |
#irmsd_angstrom ⇒ Object
Returns the value of attribute irmsd_angstrom.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def irmsd_angstrom @irmsd_angstrom end |
#is_backend_available ⇒ Object
Returns the value of attribute is_backend_available.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def is_backend_available @is_backend_available end |
#is_measurement_available ⇒ Object
Returns the value of attribute is_measurement_available.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def is_measurement_available @is_measurement_available end |
#lrmsd_angstrom ⇒ Object
Returns the value of attribute lrmsd_angstrom.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def lrmsd_angstrom @lrmsd_angstrom end |
#method ⇒ Object
Returns the value of attribute method.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def method @method end |
#query_structure_id ⇒ Object
Returns the value of attribute query_structure_id.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def query_structure_id @query_structure_id end |
#query_structure_object ⇒ Object
Returns the value of attribute query_structure_object.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def query_structure_object @query_structure_object end |
#target_structure_id ⇒ Object
Returns the value of attribute target_structure_id.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def target_structure_id @target_structure_id end |
#target_structure_object ⇒ Object
Returns the value of attribute target_structure_object.
25 26 27 |
# File 'lib/rafflesia/proteins/dock_q_data.rb', line 25 def target_structure_object @target_structure_object end |