spectral-cockpit / opusreader2

Read OPUS binary files from Fourier-Transform Infrared (FT-IR) spectrometers of the company Bruker Optics GmbH & Co. in base R
https://spectral-cockpit.github.io/opusreader2/
MIT License
18 stars 2 forks source link

allow to read opus files from directories (recursive) which also contain other file types in read_opus() #45

Closed laura-summerauer closed 1 year ago

philipp-baumann commented 1 year ago

Thanks for reporting this bug @laura-summerauer ! Will fix this one https://github.com/spectral-cockpit/opusreader2/blob/058525bfa04b35fceb95c67482503a2f930888d5/R/read_opus.R#L21

philipp-baumann commented 1 year ago

Hi Laura, could you quickly test and give a short confirmation that it works? :100: You can try with this PR branch linked above with

remotes::install_github("spectral-cockpit/opusreader2", ref = "bug-45-dsn-dir-only-opus")
laura-summerauer commented 1 year ago

Great works perfectly, thank you!