I am trying to work through the example in FunSQL but am getting an error as shown in the following lines. This is a copy paste of the example. Somehow the artifact is not working, I think. The documentation seems to indicate that there should also be an Artifact.toml.
julia> cd("tmp")
(@v1.9) pkg> activate .
Activating project at `C:\Users\jakez\tmp`
julia> using FunSQL:
FunSQL, Agg, Append, As, Asc, Bind, CrossJoin, Define, Desc, Fun, From,
Get, Group, Highlight, Iterate, Join, LeftJoin, Limit, Lit, Order,
Partition, Select, Sort, Var, Where, With, WithExternal, render
julia> const URL = "https://github.com/MechanicalRabbit/ohdsi-synpuf-demo/releases/download/20210412/synpuf-10p.sqlite"
"https://github.com/MechanicalRabbit/ohdsi-synpuf-demo/releases/download/20210412/synpuf-10p.sqlite"
julia> const DATABASE = download(URL)
"C:\\Users\\jakez\\AppData\\Local\\Temp\\jl_PyXWBORwxO"
julia> using Pkg.Artifacts, LazyArtifacts
julia>
julia> const DATABASE = joinpath(artifact"synpuf-10p", "synpuf-10p.sqlite")
ERROR: LoadError: Cannot locate '(Julia)Artifacts.toml' file when attempting to use artifact 'synpuf-10p' in 'Main'
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] var"@artifact_str"(__source__::LineNumberNode, __module__::Module, name::Any, platform::Any, artifacts_toml_path::Any)
@ Artifacts C:\Users\jakez\AppData\Local\Programs\Julia-1.9.1\share\julia\stdlib\v1.9\Artifacts\src\Artifacts.jl:670
[3] var"@artifact_str"(__source__::LineNumberNode, __module__::Module, name::Any)
@ Artifacts C:\Users\jakez\AppData\Local\Programs\Julia-1.9.1\share\julia\stdlib\v1.9\Artifacts\src\Artifacts.jl:659
in expression starting at REPL[7]:1
julia> readdir()
2-element Vector{String}:
"Manifest.toml"
"Project.toml"