tardis-sn / carsus

Atomic Database for Astronomy
https://tardis-sn.github.io/carsus
21 stars 44 forks source link

Use regex and better unit parsing for vald linelist parsing #389

Closed jvshields closed 3 weeks ago

jvshields commented 10 months ago

PR #386 introduces more variable unit parsing for vald linelists, but it would be done better using regular expressions to identify the medium and units given. An external function for identifying columns already exists, but that should be generalized using regex and expanded so the columns don't need to be investigated multiple times.