Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: gDRimport
Type: Package
Title: Package for handling the import of dose-response data
Version: 1.9.5
Date: 2025-12-17
Version: 1.9.6
Date: 2026-01-27
Authors@R: c(
person("Arkadiusz", "Gladki", role=c("aut", "cre"), email="gladki.arkadiusz@gmail.com",
comment = c(ORCID = "0000-0002-7059-6378")),
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## gDRimport 1.9.6 - 2025-12-27
* extend support for csv EnVision format

## gDRimport 1.9.5 - 2025-12-17
* add support broad_id in PRISM data
* add suport for combo data in private prism data
Expand Down
7 changes: 4 additions & 3 deletions R/load_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -1588,9 +1588,10 @@ read_in_EnVision_file <- function(file, nrows, seps) {

results.list <- list()
current.line <- 1
while (length(line <-
readLines(con, n = 1, warn = FALSE)) > 0 && current.line < nrows) {
results.list[[current.line]] <- line

while (length(line <- readLines(con, n = 1, warn = FALSE)) > 0 && current.line < nrows) {
cleaned.line <- gsub("=\"([^\"]*)\"", "\\1", line)
results.list[[current.line]] <- cleaned.line
current.line <- current.line + 1
}
close(con)
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ detect_file_format <- function(results_file) {
} else if ("Repeat Barcode" %in% c(
do.call(paste, results_data[, 2:3]),
paste(names(results_data[, 2:3]), collapse = " ")
)) {
) || any(grepl("Repeat,Barcode", results_data[, 1]))) {
"EnVision"
} else {
"long_tsv"
Expand Down
Loading