h2020charisma / ramanchada2

A library for Raman spectroscopy harmonization
https://h2020charisma.github.io/ramanchada2/
MIT License
5 stars 3 forks source link

rc1 parser still returns None metadata and subsequent code fails #188

Closed vedina closed 3 weeks ago

vedina commented 3 weeks ago

https://github.com/h2020charisma/ramanchada2/blob/7c8c5ffdaa822b2da977914d9b279ddea117f04f/src/ramanchada2/io/experimental/rc1_parser/io.py#L38

The issue preventing .ngs files without metadata is not solved; cleanMetadata will do nothing if meta is None and the subsequent code at https://github.com/h2020charisma/ramanchada2/blob/7c8c5ffdaa822b2da977914d9b279ddea117f04f/src/ramanchada2/io/experimental/rc1_parser/io.py#L40 fails