Skip to content

Commit

Permalink
fix: read_cdf (don't require time_values attribute)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbass committed Jan 11, 2025
1 parent 2c5a93b commit 362c192
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion R/read_cdf.R
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ read_andi_ms <- function(path, format_out = c("matrix", "data.frame"),
int <- ncdf4::ncvar_get(nc, "intensity_values")
mz <- ncdf4::ncvar_get(nc, "mass_values")
scan_idx <- ncdf4::ncvar_get(nc, "scan_index")
rt <- ncdf4::ncvar_get(nc, "time_values")
n_scans <- ncdf4::ncvar_get(nc, "point_count")
rt_scan <- ncdf4::ncvar_get(nc, "scan_acquisition_time")
zeros <- as.list(rep(NA, length(which(scan_idx == 0)) - 1))
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ chromConverter aims to facilitate the conversion of chromatography data from var
- 'Agilent ChemStation' & 'OpenLab' `.ch` files (versions 30, 130, 8, 81, 179, 181)
- Allotrope® Simple Model (ASM) 2D chromatograms (`.asm`)
- ANDI (Analytical Data Interchange) Chromatography & MS formats (`.cdf`)
- 'Allotrope Simple Model' (ASM) 2D chromatograms.
- mzML (`.mzml`) & mzXML (.`mzxml`) (via *RaMS*).
- 'Shimadzu LabSolutions' ascii (`.txt`)
- 'Shimadzu GCsolution' data files (`.gcd`)
Expand Down

0 comments on commit 362c192

Please sign in to comment.