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

Feat 51 name first level of list #83

Closed philipp-baumann closed 1 year ago

philipp-baumann commented 1 year ago

addresses #51

philipp-baumann commented 1 year ago

@laura-summerauer @ThomasKnecht FYI https://github.com/spectral-cockpit/opusreader2/pull/83/commits/b3b503740339c37911263c864f739d3aade08872 reduces the naming of the "list_opusreader2" elements to the very basic. This means we just use the base file name from the data source name (DSN). Like this we make it easy for any user to filter the read_opus() output simply by file name. If multiple files of the same base name test_file.0, i.e. those OPUS files lay in different subdirectories, are read, then data["test_file.0"] is the easiest way to select all those files.