Skip to content

Commit

Permalink
Fix reference to transient MI tag in DuplexConsensusCaller
Browse files Browse the repository at this point in the history
  • Loading branch information
clintval committed Oct 22, 2023
1 parent d748c76 commit 9f6b2e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class DuplexConsensusCaller(override val readNamePrefix: String,
*/
private def sourceMoleculeAndStrandId(rec: SamRecord): String = {
// Optimization: speed up retrieving this tag by storing it in the transient attributes
rec.transientAttrs.get[String](ConsensusTags) match {
rec.transientAttrs.get[String](ConsensusTags.MolecularId) match {
case Some(mi) => mi
case None =>
rec.get[String](ConsensusTags.MolecularId) match {
Expand Down

0 comments on commit 9f6b2e4

Please sign in to comment.