Class: Rafflesia::SimulationTrajectoryRmsdTableData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationTrajectoryRmsdTableData
- Defined in:
- lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, compared_atom_count: :compared_atom_count, end_frame: :end_frame, frame_count: :frame_count, method: :method, reference_frame: :reference_frame, reference_source: :reference_source, reference_structure: :reference_structure, relation: :relation, row_count: :row_count, selected_frame_count: :selected_frame_count, selection: :selection, start_frame: :start_frame, stride: :stride, superposed: :superposed, topology: :topology, trajectory: :trajectory, trajectory_id: :trajectory_id, trajectory_manifest_object: :trajectory_manifest_object }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#compared_atom_count ⇒ Object
Returns the value of attribute compared_atom_count.
-
#end_frame ⇒ Object
Returns the value of attribute end_frame.
-
#frame_count ⇒ Object
Returns the value of attribute frame_count.
-
#method ⇒ Object
Returns the value of attribute method.
-
#reference_frame ⇒ Object
Returns the value of attribute reference_frame.
-
#reference_source ⇒ Object
Returns the value of attribute reference_source.
-
#reference_structure ⇒ Object
Returns the value of attribute reference_structure.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#row_count ⇒ Object
Returns the value of attribute row_count.
-
#selected_frame_count ⇒ Object
Returns the value of attribute selected_frame_count.
-
#selection ⇒ Object
Returns the value of attribute selection.
-
#start_frame ⇒ Object
Returns the value of attribute start_frame.
-
#stride ⇒ Object
Returns the value of attribute stride.
-
#superposed ⇒ Object
Returns the value of attribute superposed.
-
#topology ⇒ Object
Returns the value of attribute topology.
-
#trajectory ⇒ Object
Returns the value of attribute trajectory.
-
#trajectory_id ⇒ Object
Returns the value of attribute trajectory_id.
-
#trajectory_manifest_object ⇒ Object
Returns the value of attribute trajectory_manifest_object.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationTrajectoryRmsdTableData
constructor
A new instance of SimulationTrajectoryRmsdTableData.
Constructor Details
#initialize(json) ⇒ SimulationTrajectoryRmsdTableData
Returns a new instance of SimulationTrajectoryRmsdTableData.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 51 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] ? Rafflesia::SimulationBackendEvidence.new(hash[:backend]) : nil @compared_atom_count = hash[:compared_atom_count] @end_frame = hash[:end_frame] @frame_count = hash[:frame_count] @method = hash[:method] @reference_frame = hash[:reference_frame] @reference_source = hash[:reference_source] @reference_structure = hash[:reference_structure] ? Rafflesia::SimulationInputRef.new(hash[:reference_structure]) : nil @relation = hash[:relation] ? Rafflesia::RelationArtifactData.new(hash[:relation]) : nil @row_count = hash[:row_count] @selected_frame_count = hash[:selected_frame_count] @selection = hash[:selection] @start_frame = hash[:start_frame] @stride = hash[:stride] @superposed = hash[:superposed] @topology = hash[:topology] ? Rafflesia::SimulationInputRef.new(hash[:topology]) : nil @trajectory = hash[:trajectory] ? Rafflesia::SimulationInputRef.new(hash[:trajectory]) : nil @trajectory_id = hash[:trajectory_id] @trajectory_manifest_object = hash[:trajectory_manifest_object] ? Rafflesia::ObjectRef.new(hash[:trajectory_manifest_object]) : nil end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def backend @backend end |
#compared_atom_count ⇒ Object
Returns the value of attribute compared_atom_count.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def compared_atom_count @compared_atom_count end |
#end_frame ⇒ Object
Returns the value of attribute end_frame.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def end_frame @end_frame end |
#frame_count ⇒ Object
Returns the value of attribute frame_count.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def frame_count @frame_count end |
#method ⇒ Object
Returns the value of attribute method.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def method @method end |
#reference_frame ⇒ Object
Returns the value of attribute reference_frame.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def reference_frame @reference_frame end |
#reference_source ⇒ Object
Returns the value of attribute reference_source.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def reference_source @reference_source end |
#reference_structure ⇒ Object
Returns the value of attribute reference_structure.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def reference_structure @reference_structure end |
#relation ⇒ Object
Returns the value of attribute relation.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def relation @relation end |
#row_count ⇒ Object
Returns the value of attribute row_count.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def row_count @row_count end |
#selected_frame_count ⇒ Object
Returns the value of attribute selected_frame_count.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def selected_frame_count @selected_frame_count end |
#selection ⇒ Object
Returns the value of attribute selection.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def selection @selection end |
#start_frame ⇒ Object
Returns the value of attribute start_frame.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def start_frame @start_frame end |
#stride ⇒ Object
Returns the value of attribute stride.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def stride @stride end |
#superposed ⇒ Object
Returns the value of attribute superposed.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def superposed @superposed end |
#topology ⇒ Object
Returns the value of attribute topology.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def topology @topology end |
#trajectory ⇒ Object
Returns the value of attribute trajectory.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def trajectory @trajectory end |
#trajectory_id ⇒ Object
Returns the value of attribute trajectory_id.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def trajectory_id @trajectory_id end |
#trajectory_manifest_object ⇒ Object
Returns the value of attribute trajectory_manifest_object.
30 31 32 |
# File 'lib/rafflesia/simulations/simulation_trajectory_rmsd_table_data.rb', line 30 def trajectory_manifest_object @trajectory_manifest_object end |