Class: Rafflesia::MapModelCandidatePairRow
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::MapModelCandidatePairRow
- Defined in:
- lib/rafflesia/maps/map_model_candidate_pair_row.rb
Constant Summary collapse
- HASH_ATTRS =
{ ambiguity_group_size: :ambiguity_group_size, directory_depth_distance: :directory_depth_distance, group_key: :group_key, group_status: :group_status, map_archive_path: :map_archive_path, map_columns: :map_columns, map_id: :map_id, map_object_id: :map_object_id, map_rows: :map_rows, map_sections: :map_sections, method: :method, path_token_jaccard: :path_token_jaccard, path_token_overlap: :path_token_overlap, shared_path_component_count: :shared_path_component_count, shared_prefix_length: :shared_prefix_length, structure_archive_path: :structure_archive_path, structure_atom_count: :structure_atom_count, structure_id: :structure_id, structure_object_id: :structure_object_id, structure_residue_count: :structure_residue_count }.freeze
Instance Attribute Summary collapse
-
#ambiguity_group_size ⇒ Object
Returns the value of attribute ambiguity_group_size.
-
#directory_depth_distance ⇒ Object
Returns the value of attribute directory_depth_distance.
-
#group_key ⇒ Object
Returns the value of attribute group_key.
-
#group_status ⇒ Object
Returns the value of attribute group_status.
-
#map_archive_path ⇒ Object
Returns the value of attribute map_archive_path.
-
#map_columns ⇒ Object
Returns the value of attribute map_columns.
-
#map_id ⇒ Object
Returns the value of attribute map_id.
-
#map_object_id ⇒ Object
Returns the value of attribute map_object_id.
-
#map_rows ⇒ Object
Returns the value of attribute map_rows.
-
#map_sections ⇒ Object
Returns the value of attribute map_sections.
-
#method ⇒ Object
Returns the value of attribute method.
-
#path_token_jaccard ⇒ Object
Returns the value of attribute path_token_jaccard.
-
#path_token_overlap ⇒ Object
Returns the value of attribute path_token_overlap.
-
#shared_path_component_count ⇒ Object
Returns the value of attribute shared_path_component_count.
-
#shared_prefix_length ⇒ Object
Returns the value of attribute shared_prefix_length.
-
#structure_archive_path ⇒ Object
Returns the value of attribute structure_archive_path.
-
#structure_atom_count ⇒ Object
Returns the value of attribute structure_atom_count.
-
#structure_id ⇒ Object
Returns the value of attribute structure_id.
-
#structure_object_id ⇒ Object
Returns the value of attribute structure_object_id.
-
#structure_residue_count ⇒ Object
Returns the value of attribute structure_residue_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ MapModelCandidatePairRow
constructor
A new instance of MapModelCandidatePairRow.
Constructor Details
#initialize(json) ⇒ MapModelCandidatePairRow
Returns a new instance of MapModelCandidatePairRow.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 53 def initialize(json) super() hash = self.class.normalize(json) @ambiguity_group_size = hash[:ambiguity_group_size] @directory_depth_distance = hash[:directory_depth_distance] @group_key = hash[:group_key] @group_status = hash[:group_status] @map_archive_path = hash[:map_archive_path] @map_columns = hash[:map_columns] @map_id = hash[:map_id] @map_object_id = hash[:map_object_id] @map_rows = hash[:map_rows] @map_sections = hash[:map_sections] @method = hash[:method] @path_token_jaccard = hash[:path_token_jaccard] @path_token_overlap = hash[:path_token_overlap] @shared_path_component_count = hash[:shared_path_component_count] @shared_prefix_length = hash[:shared_prefix_length] @structure_archive_path = hash[:structure_archive_path] @structure_atom_count = hash[:structure_atom_count] @structure_id = hash[:structure_id] @structure_object_id = hash[:structure_object_id] @structure_residue_count = hash[:structure_residue_count] end |
Instance Attribute Details
#ambiguity_group_size ⇒ Object
Returns the value of attribute ambiguity_group_size.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def ambiguity_group_size @ambiguity_group_size end |
#directory_depth_distance ⇒ Object
Returns the value of attribute directory_depth_distance.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def directory_depth_distance @directory_depth_distance end |
#group_key ⇒ Object
Returns the value of attribute group_key.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def group_key @group_key end |
#group_status ⇒ Object
Returns the value of attribute group_status.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def group_status @group_status end |
#map_archive_path ⇒ Object
Returns the value of attribute map_archive_path.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def map_archive_path @map_archive_path end |
#map_columns ⇒ Object
Returns the value of attribute map_columns.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def map_columns @map_columns end |
#map_id ⇒ Object
Returns the value of attribute map_id.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def map_id @map_id end |
#map_object_id ⇒ Object
Returns the value of attribute map_object_id.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def map_object_id @map_object_id end |
#map_rows ⇒ Object
Returns the value of attribute map_rows.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def map_rows @map_rows end |
#map_sections ⇒ Object
Returns the value of attribute map_sections.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def map_sections @map_sections end |
#method ⇒ Object
Returns the value of attribute method.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def method @method end |
#path_token_jaccard ⇒ Object
Returns the value of attribute path_token_jaccard.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def path_token_jaccard @path_token_jaccard end |
#path_token_overlap ⇒ Object
Returns the value of attribute path_token_overlap.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def path_token_overlap @path_token_overlap end |
#shared_path_component_count ⇒ Object
Returns the value of attribute shared_path_component_count.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def shared_path_component_count @shared_path_component_count end |
#shared_prefix_length ⇒ Object
Returns the value of attribute shared_prefix_length.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def shared_prefix_length @shared_prefix_length end |
#structure_archive_path ⇒ Object
Returns the value of attribute structure_archive_path.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def structure_archive_path @structure_archive_path end |
#structure_atom_count ⇒ Object
Returns the value of attribute structure_atom_count.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def structure_atom_count @structure_atom_count end |
#structure_id ⇒ Object
Returns the value of attribute structure_id.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def structure_id @structure_id end |
#structure_object_id ⇒ Object
Returns the value of attribute structure_object_id.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def structure_object_id @structure_object_id end |
#structure_residue_count ⇒ Object
Returns the value of attribute structure_residue_count.
31 32 33 |
# File 'lib/rafflesia/maps/map_model_candidate_pair_row.rb', line 31 def structure_residue_count @structure_residue_count end |