Skip to content

Commit 52b701b

Browse files
committed
Merge branch 'master' into dev
2 parents 5214b0d + 6b30134 commit 52b701b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1628
-340
lines changed

.github/workflows/rhub.yaml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# R-hub's generic GitHub Actions workflow file. It's canonical location is at
2+
# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml
3+
# You can update this file to a newer version using the rhub2 package:
4+
#
5+
# rhub::rhub_setup()
6+
#
7+
# It is unlikely that you need to modify this file manually.
8+
9+
name: R-hub
10+
run-name: "${{ github.event.inputs.id }}: ${{ github.event.inputs.name || format('Manually run by {0}', github.triggering_actor) }}"
11+
12+
on:
13+
workflow_dispatch:
14+
inputs:
15+
config:
16+
description: 'A comma separated list of R-hub platforms to use.'
17+
type: string
18+
default: 'linux,windows,macos'
19+
name:
20+
description: 'Run name. You can leave this empty now.'
21+
type: string
22+
id:
23+
description: 'Unique ID. You can leave this empty now.'
24+
type: string
25+
26+
jobs:
27+
28+
setup:
29+
runs-on: ubuntu-latest
30+
outputs:
31+
containers: ${{ steps.rhub-setup.outputs.containers }}
32+
platforms: ${{ steps.rhub-setup.outputs.platforms }}
33+
34+
steps:
35+
# NO NEED TO CHECKOUT HERE
36+
- uses: r-hub/actions/setup@v1
37+
with:
38+
config: ${{ github.event.inputs.config }}
39+
id: rhub-setup
40+
41+
linux-containers:
42+
needs: setup
43+
if: ${{ needs.setup.outputs.containers != '[]' }}
44+
runs-on: ubuntu-latest
45+
name: ${{ matrix.config.label }}
46+
strategy:
47+
fail-fast: false
48+
matrix:
49+
config: ${{ fromJson(needs.setup.outputs.containers) }}
50+
container:
51+
image: ${{ matrix.config.container }}
52+
53+
steps:
54+
- uses: r-hub/actions/checkout@v1
55+
- uses: r-hub/actions/platform-info@v1
56+
with:
57+
token: ${{ secrets.RHUB_TOKEN }}
58+
job-config: ${{ matrix.config.job-config }}
59+
- uses: r-hub/actions/setup-deps@v1
60+
with:
61+
token: ${{ secrets.RHUB_TOKEN }}
62+
job-config: ${{ matrix.config.job-config }}
63+
- uses: r-hub/actions/run-check@v1
64+
with:
65+
token: ${{ secrets.RHUB_TOKEN }}
66+
job-config: ${{ matrix.config.job-config }}
67+
68+
other-platforms:
69+
needs: setup
70+
if: ${{ needs.setup.outputs.platforms != '[]' }}
71+
runs-on: ${{ matrix.config.os }}
72+
name: ${{ matrix.config.label }}
73+
strategy:
74+
fail-fast: false
75+
matrix:
76+
config: ${{ fromJson(needs.setup.outputs.platforms) }}
77+
78+
steps:
79+
- uses: r-hub/actions/checkout@v1
80+
- uses: r-hub/actions/setup-r@v1
81+
with:
82+
job-config: ${{ matrix.config.job-config }}
83+
token: ${{ secrets.RHUB_TOKEN }}
84+
- uses: r-hub/actions/platform-info@v1
85+
with:
86+
token: ${{ secrets.RHUB_TOKEN }}
87+
job-config: ${{ matrix.config.job-config }}
88+
- uses: r-hub/actions/setup-deps@v1
89+
with:
90+
job-config: ${{ matrix.config.job-config }}
91+
token: ${{ secrets.RHUB_TOKEN }}
92+
- uses: r-hub/actions/run-check@v1
93+
with:
94+
job-config: ${{ matrix.config.job-config }}
95+
token: ${{ secrets.RHUB_TOKEN }}

DESCRIPTION

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: chromConverter
22
Title: Chromatographic File Converter
3-
Version: 0.6.0
3+
Version: 0.6.4
44
Authors@R: c(
55
person(given = "Ethan", family = "Bass", email = "ethanbass@gmail.com",
66
role = c("aut", "cre"),
@@ -13,7 +13,7 @@ Authors@R: c(
1313
for parsing 'Agilent' UV files."))
1414
)
1515
Maintainer: Ethan Bass <ethanbass@gmail.com>
16-
Description: Reads chromatograms from binary formats into R objects. Currently supports conversion of 'Agilent ChemStation', 'Agilent MassHunter', and 'ThermoRaw' files as well as various text-based formats. Utilizes file parsers from external libraries, such as 'Aston' <https://github.com/bovee/aston>, 'Entab' <https://github.com/bovee/entab>, 'rainbow' <https://rainbow-api.readthedocs.io/>, and 'ThermoRawFileParser' <https://github.com/compomics/ThermoRawFileParser>.
16+
Description: Reads chromatograms from binary formats into R objects. Currently supports conversion of 'Agilent ChemStation', 'Agilent MassHunter', 'Shimadzu LabSolutions', 'ThermoRaw' files as well as various text-based formats. Utilizes file parsers from external libraries, such as 'Aston' <https://github.com/bovee/aston>, 'Entab' <https://github.com/bovee/entab>, 'rainbow' <https://rainbow-api.readthedocs.io/>, and 'ThermoRawFileParser' <https://github.com/compomics/ThermoRawFileParser>.
1717
License: GPL (>= 3)
1818
URL: https://ethanbass.github.io/chromConverter, https://github.com/ethanbass/chromConverter
1919
BugReports: https://github.com/ethanbass/chromConverter/issues
@@ -29,7 +29,8 @@ Imports:
2929
magrittr,
3030
RaMS,
3131
tibble,
32-
xml2
32+
xml2,
33+
bit64
3334
Suggests:
3435
entab,
3536
ncdf4,
@@ -46,6 +47,6 @@ Config/reticulate: list( packages = list(list(package = "scipy"),
4647
Encoding: UTF-8
4748
Language: en-US
4849
Roxygen: list(markdown = TRUE)
49-
RoxygenNote: 7.2.3
50+
RoxygenNote: 7.3.0
5051
Additional_repositories: https://ethanbass.github.io/drat/
5152
Config/testthat/edition: 3

NAMESPACE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ export(read_mdf)
1818
export(read_mzml)
1919
export(read_peaklist)
2020
export(read_shimadzu)
21+
export(read_shimadzu_gcd)
2122
export(read_shimadzu_lcd)
23+
export(read_sz_lcd_2d)
24+
export(read_sz_lcd_3d)
25+
export(read_sz_tic)
2226
export(read_thermoraw)
2327
export(read_varian_peaklist)
2428
export(read_waters_arw)
@@ -30,6 +34,7 @@ import(magrittr)
3034
import(reticulate)
3135
import(xml2)
3236
importFrom(RaMS,grabMSdata)
37+
importFrom(bit64,as.integer64)
3338
importFrom(bitops,bitAnd)
3439
importFrom(bitops,bitShiftL)
3540
importFrom(purrr,partial)

NEWS.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
## chromConverter 0.6.4
2+
3+
* Added support for Agilent ChemStation' version 8 (`.ch`) files through `read_chemstation_ch`.
4+
* Fixed failure to return units in some `Agilent Chemstation` files due to typo.
5+
* Fixed bug causing "spill-over" of Agilent metadata fields.
6+
7+
## chromConverter 0.6.3
8+
9+
* Added parser for total ion chromatogram (TIC) stream in 'Shimadzu' LCD files.
10+
* Added additional support for extraction of metadata from 'Shimadzu' LCD and GCD files.
11+
* Updated docs for `read_shimadzu_lcd_2d` to more accurately reflect file structure.
12+
* Added `scale` argument to `read_chemstation_ch` and `read_shimadzu_lcd` to
13+
toggle scaling of chromatograms resolving ([#30](https://github.com/ethanbass/chromConverter/issues/30)).
14+
15+
## chromConverter 0.6.2
16+
17+
* Updated `read_shimadzu_lcd` function to correctly determine the number of blocks in the "Shimadzu" LCD PDA stream (thanks to [kco-hereon](https://github.com/kco-hereon)).
18+
* Added preliminary support for 2D data streams from "Shimadzu LCD" files.
19+
* Added parser for 'Shimadzu GCD' files (from GC-FID).
20+
21+
## chromConverter 0.6.1
22+
23+
* Added support for 'Shimadzu' ASCII files with '[LC Chromatogram...]' sub-header.
24+
* Correct 'Shimadzu' ASCII chromatograms by 'Intensity Multiplier' if it is provided.
25+
* Fixed bug in logic in `export_cdfs` function to permit conversion of files lacking metadata.
26+
* Minor, cosmetic changes to documentation.
27+
128
## chromConverter 0.6.0
229

330
* Added parser for reading ANDI MS (`.cdf`) files.

0 commit comments

Comments
 (0)