Class: UnderRepWellCommentsToBroadcast::UnderRepWellComment
- Inherits:
-
Object
- Object
- UnderRepWellCommentsToBroadcast::UnderRepWellComment
- Defined in:
- app/models/under_rep_well_comments_to_broadcast.rb
Overview
Represents a single “under-represented” well comment, holding metadata about its batch, position, tag index, and associated poly_metadatum.
Instance Attribute Summary collapse
-
#batch_id ⇒ Integer
readonly
The ID of the batch this comment belongs to.
-
#poly_metadatum ⇒ Object
readonly
The metadata object describing the comment.
-
#position ⇒ Integer
readonly
The lane or well position of the comment.
-
#tag_index ⇒ Integer
readonly
The tag index identifying the aliquot.
Instance Method Summary collapse
-
#initialize(poly_metadatum:, batch_id:, position:, tag_index:) ⇒ UnderRepWellComment
constructor
A new instance of UnderRepWellComment.
Constructor Details
#initialize(poly_metadatum:, batch_id:, position:, tag_index:) ⇒ UnderRepWellComment
Returns a new instance of UnderRepWellComment.
28 29 30 31 32 33 |
# File 'app/models/under_rep_well_comments_to_broadcast.rb', line 28 def initialize(poly_metadatum:, batch_id:, position:, tag_index:) @poly_metadatum = @batch_id = batch_id @position = position @tag_index = tag_index end |
Instance Attribute Details
#batch_id ⇒ Integer (readonly)
The ID of the batch this comment belongs to.
25 26 27 |
# File 'app/models/under_rep_well_comments_to_broadcast.rb', line 25 def batch_id @batch_id end |
#poly_metadatum ⇒ Object (readonly)
The metadata object describing the comment.
25 26 27 |
# File 'app/models/under_rep_well_comments_to_broadcast.rb', line 25 def @poly_metadatum end |
#position ⇒ Integer (readonly)
The lane or well position of the comment.
25 26 27 |
# File 'app/models/under_rep_well_comments_to_broadcast.rb', line 25 def position @position end |
#tag_index ⇒ Integer (readonly)
The tag index identifying the aliquot.
25 26 27 |
# File 'app/models/under_rep_well_comments_to_broadcast.rb', line 25 def tag_index @tag_index end |