Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Oct 29, 2017
1 parent 5090a4f commit ca3cf2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ case class AlignmentRecordRDD(
case SILENT
}

val pairedRecords: RDD[AlignmentRecord] = readsByID.filter(_._2.size == 2).map(_._2).flatMap(x => x)
val pairedRecords: RDD[AlignmentRecord] = readsByID.filter(_._2.size == 2).values.flatMap(x => x)
maybePersist(pairedRecords)
val numPairedRecords = pairedRecords.count()

Expand Down

0 comments on commit ca3cf2c

Please sign in to comment.