Skip to content

Commit

Permalink
BUG Fix typo: guess encoding for second mate
Browse files Browse the repository at this point in the history
This was probably rarely a problem in practice (only if the mates have
different encodings), but still a clear bug.
  • Loading branch information
luispedro committed Oct 23, 2018
1 parent 9769563 commit f1a9a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NGLess/Interpretation/FastQ.hs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ executePaired (NGOString mate1) args = NGOReadSet mate1 <$> do
<*> asFQFilePathMayQC qcNeeded enc fp2'
else do
enc1 <- fromMaybe (encodingFor fp1') (return <$> enc)
enc2 <- fromMaybe (encodingFor fp1') (return <$> enc)
enc2 <- fromMaybe (encodingFor fp2') (return <$> enc)
(es1,es2) <- liftIO $ A.concurrently
(try $ testNGLessIO $ statsFromFastQ fp1' enc1)
(try $ testNGLessIO $ statsFromFastQ fp2' enc2)
Expand Down

0 comments on commit f1a9a99

Please sign in to comment.