MatthiasPucher / staRdom

staRdom is a package for R to analyse fluorescence and absorbance data of dissolved organic matter (DOM).
21 stars 2 forks source link

abs_blcor bug when there's only one absorbance spectrum #15

Closed mooaw closed 4 years ago

mooaw commented 4 years ago

Hi Matthias,

I recently found a bug with abs_blcor function. If I only have one absorbance spectrum in my abs data, after baseline correction, the data will lose its data frame structure and the name of spectrum. And it can't be directly used for IFE correction. In that case, I have to manually reformat the data into a data frame and provide the name. It's not a big problem but may be confusing at first. I hope it can be fixed.

Thanks again for creating this wonderful package!

Best, Jianshu

MatthiasPucher commented 4 years ago

Thank you for bringing this up. It was no big problem and is fixed with the recent version on GitHub.