Skip to content

Commit

Permalink
give correct return value for no-op in extract_region
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanf committed Nov 19, 2019
1 parent 0e4891c commit 3e56b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: tzara
Type: Package
Title: Cluster long amplicons using dada2 denoising on variable regions
Version: 0.0.7.5
Version: 0.0.7.6
Authors@R: person(given = "Brendan", family = "Furneaux",
email = "[email protected]",
role = c("aut", "cre"))
Expand Down
2 changes: 1 addition & 1 deletion R/tzara.R
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,8 @@ extract_region.ShortRead <- function(seq, positions, region, region2 = region,
} else {
ShortRead::writeFasta(seq, outfile, mode = "a")
}
return(seq)
}
return(seq)
}

p <- positions %>%
Expand Down

0 comments on commit 3e56b90

Please sign in to comment.