Skip to content

Commit

Permalink
Merge pull request #85 from gladkia/84-fix-bioc-errors-amazon-s3-url-…
Browse files Browse the repository at this point in the history
…unreachable

84 fix bioc errors amazon s3 url unreachable
  • Loading branch information
gladkia authored Aug 25, 2024
2 parents c26ffa2 + 6a5b028 commit 425cda0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: igvShiny
Title: igvShiny: a wrapper of Integrative Genomics Viewer (IGV - an interactive
tool for visualization and exploration integrated genomic data)
Version: 1.0.2
Date: 2024-08-16
Version: 1.0.3
Date: 2024-08-25
Authors@R: c(
person("Paul","Shannon", role = c("aut"),
email = "[email protected]"),
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## igvShiny 1.0.3 - 2024-08-25
* stop using Amazon S3 URLs by default

## igvShiny 1.0.2 - 2024-08-16
* fix issue with VCF files

Expand Down
2 changes: 1 addition & 1 deletion R/GWASTrack.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ setGeneric("getUrl",
#' )
#' getUrl(track)
#'
#' url <- "https://s3.amazonaws.com/igv.org.demo/gwas_sample.tsv.gz"
#' url <- "https://gladki.pl/igvShiny/gwas_sample.tsv.gz"
#' track <- GWASTrack(
#' "remote url gwas",
#' url,
Expand Down
3 changes: 1 addition & 2 deletions R/genomeSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ get_css_genomes <- function(test = FALSE) {
if (test)
return(get_basic_genomes())

current.genomes.file <-
"https://s3.amazonaws.com/igv.org.genomes/genomes.json"
current.genomes.file <- "https://igv.org/genomes/genomes.json"

if (!RCurl::url.exists(current.genomes.file))
return(get_basic_genomes())
Expand Down
2 changes: 1 addition & 1 deletion inst/unitTests/test_GWASTrack.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test_urlConstructor <- function()
{
message(sprintf("--- test_urlConstructor"))

url <- "https://s3.amazonaws.com/igv.org.demo/gwas_sample.tsv.gz"
url <- "https://gladki.pl/igvShiny/gwas_sample.tsv.gz"
gwasTrack <- GWASTrack("remote url gwas",
url,
chrom.col=3,
Expand Down
2 changes: 1 addition & 1 deletion man/GWASTrack-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 425cda0

Please sign in to comment.