Hi, thanks for this handy package.
.sed files sometimes have a 'Comment' line inserted in the start of the metadata section at top of file, if a comment is added during spectrum collection.
I tried adding to the psr_meta_tags list in a version of read_spectra() with "Comment:". This works if the .sed being read has comments but it fails for files that don't have comments, with this:
Error in split(y, s)[[pick]] : subscript out of bounds
Hi, thanks for this handy package. .sed files sometimes have a 'Comment' line inserted in the start of the metadata section at top of file, if a comment is added during spectrum collection.
I tried adding to the psr_meta_tags list in a version of read_spectra() with "Comment:". This works if the .sed being read has comments but it fails for files that don't have comments, with this:
Error in split(y, s)[[pick]] : subscript out of bounds