Skip to content

Commit

Permalink
Fixed a bug in gtrack.import from bigwig
Browse files Browse the repository at this point in the history
  • Loading branch information
aviezerl committed Jul 22, 2024
1 parent ffe7066 commit 9514632
Show file tree
Hide file tree
Showing 3 changed files with 6 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 @@
Type: Package
Package: misha
Title: Toolkit for Analysis of Genomic Data
Version: 4.2.9
Version: 4.2.10
Authors@R: c(
person("Misha", "Hoichman", , "[email protected]", role = "aut"),
person("Aviezer", "Lifshitz", , "[email protected]", role = c("aut", "cre")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# misha 4.2.10

* Fixed a bug in `gtrack.import` from bigwig.

# misha 4.2.9

* Fixed compilation issues in M1 Mac.
Expand Down
2 changes: 1 addition & 1 deletion R/track.R
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ gtrack.import <- function(track = NULL, description = NULL, file = NULL, binsize

file.noext <- basename(gsub("^(.+)\\.(.+)$", "\\1", file, perl = TRUE))
file.converted <- paste(tmp.dirname, "/", file.noext, ".wig", sep = "")
if (paste(system(get_bigWigToWig_bin(), file, file.converted))) {
if (system(paste(get_bigWigToWig_bin(), file, file.converted))) {
stop("Command failed", call. = FALSE)
}
file <- file.converted
Expand Down

0 comments on commit 9514632

Please sign in to comment.