TacHawkes / HITRAN.jl

Spectrum calculation using the HITRAN database for Julia
MIT License
7 stars 0 forks source link

open_database fails #15

Closed SimonWoods closed 2 years ago

SimonWoods commented 2 years ago

I can't open a database any more:

julia> using HITRAN

julia> HITRAN.open_database("test.sqlite")
ERROR: MethodError: no method matching haskey(::Vector{SQLite.DBTable}, ::Symbol)
TacHawkes commented 2 years ago

Thanks for reporting. I can confirm that. I have to take a look what changed in the SQLite API and will try to fix it asap.

TacHawkes commented 2 years ago

Short follow-up. This broke down due to https://github.com/JuliaDatabases/SQLite.jl/pull/269 So that release was in fact breaking instead of a patch release...

I will create an easy fix for this but I have not reviewed the changes in SQLite for some time and their API has much improved so I could actually simplify some of my internal code where I have tried hard to have type-stable access to the database fields.