Class: Rafflesia::MapModelCandidatePairRow

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_sizeObject

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_distanceObject

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_keyObject

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_statusObject

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_pathObject

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_columnsObject

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_idObject

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_idObject

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_rowsObject

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_sectionsObject

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

#methodObject

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_jaccardObject

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_overlapObject

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_countObject

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_lengthObject

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_pathObject

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_countObject

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_idObject

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_idObject

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_countObject

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