Skip to content

Commit

Permalink
Fix reference to transient MI tag in DuplexConsensusCaller (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
clintval authored Oct 23, 2023
1 parent d748c76 commit 2363908
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 2363908

Please sign in to comment.