Class: Rafflesia::SimulationNativeContactFractionTableData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationNativeContactFractionTableData
- Defined in:
- lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, end_frame: :end_frame, frame_count: :frame_count, method: :method, min_seq_sep: :min_seq_sep, native_contact_count: :native_contact_count, radius_angstrom: :radius_angstrom, 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, soft_cutoff_factor: :soft_cutoff_factor, start_frame: :start_frame, stride: :stride, 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.
-
#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.
-
#min_seq_sep ⇒ Object
Returns the value of attribute min_seq_sep.
-
#native_contact_count ⇒ Object
Returns the value of attribute native_contact_count.
-
#radius_angstrom ⇒ Object
Returns the value of attribute radius_angstrom.
-
#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.
-
#soft_cutoff_factor ⇒ Object
Returns the value of attribute soft_cutoff_factor.
-
#start_frame ⇒ Object
Returns the value of attribute start_frame.
-
#stride ⇒ Object
Returns the value of attribute stride.
-
#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) ⇒ SimulationNativeContactFractionTableData
constructor
A new instance of SimulationNativeContactFractionTableData.
Constructor Details
#initialize(json) ⇒ SimulationNativeContactFractionTableData
Returns a new instance of SimulationNativeContactFractionTableData.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 55 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] ? Rafflesia::SimulationBackendEvidence.new(hash[:backend]) : nil @end_frame = hash[:end_frame] @frame_count = hash[:frame_count] @method = hash[:method] @min_seq_sep = hash[:min_seq_sep] @native_contact_count = hash[:native_contact_count] @radius_angstrom = hash[:radius_angstrom] @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] @soft_cutoff_factor = hash[:soft_cutoff_factor] @start_frame = hash[:start_frame] @stride = hash[:stride] @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.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def backend @backend end |
#end_frame ⇒ Object
Returns the value of attribute end_frame.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def end_frame @end_frame end |
#frame_count ⇒ Object
Returns the value of attribute frame_count.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def frame_count @frame_count end |
#method ⇒ Object
Returns the value of attribute method.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def method @method end |
#min_seq_sep ⇒ Object
Returns the value of attribute min_seq_sep.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def min_seq_sep @min_seq_sep end |
#native_contact_count ⇒ Object
Returns the value of attribute native_contact_count.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def native_contact_count @native_contact_count end |
#radius_angstrom ⇒ Object
Returns the value of attribute radius_angstrom.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def radius_angstrom @radius_angstrom end |
#reference_frame ⇒ Object
Returns the value of attribute reference_frame.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def reference_frame @reference_frame end |
#reference_source ⇒ Object
Returns the value of attribute reference_source.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def reference_source @reference_source end |
#reference_structure ⇒ Object
Returns the value of attribute reference_structure.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def reference_structure @reference_structure end |
#relation ⇒ Object
Returns the value of attribute relation.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def relation @relation end |
#row_count ⇒ Object
Returns the value of attribute row_count.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def row_count @row_count end |
#selected_frame_count ⇒ Object
Returns the value of attribute selected_frame_count.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def selected_frame_count @selected_frame_count end |
#selection ⇒ Object
Returns the value of attribute selection.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def selection @selection end |
#soft_cutoff_factor ⇒ Object
Returns the value of attribute soft_cutoff_factor.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def soft_cutoff_factor @soft_cutoff_factor end |
#start_frame ⇒ Object
Returns the value of attribute start_frame.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def start_frame @start_frame end |
#stride ⇒ Object
Returns the value of attribute stride.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def stride @stride end |
#topology ⇒ Object
Returns the value of attribute topology.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def topology @topology end |
#trajectory ⇒ Object
Returns the value of attribute trajectory.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def trajectory @trajectory end |
#trajectory_id ⇒ Object
Returns the value of attribute trajectory_id.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def trajectory_id @trajectory_id end |
#trajectory_manifest_object ⇒ Object
Returns the value of attribute trajectory_manifest_object.
32 33 34 |
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_data.rb', line 32 def trajectory_manifest_object @trajectory_manifest_object end |