Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnusualDOI() and NoDOI() do not work within location #158

Open
lkosanke opened this issue Mar 13, 2024 · 0 comments
Open

UnusualDOI() and NoDOI() do not work within location #158

lkosanke opened this issue Mar 13, 2024 · 0 comments

Comments

@lkosanke
Copy link
Collaborator

Even though the functions themselves work, they do not within a record:

db+= Record(
rater = "LK",
location = UnusualDOI("0419-4209", "http://ovidsp.ovid.com/ovidweb.cgi?T=JS&PAGE=reference&D=psyc19&NEWS=N&AN=2019-68371-015"),
NoAcess = true)

leads to error:

ERROR: MethodError: no method matching Record(; rater="LK", location=UnusualDOI{String, String}("0419-4209", "http://ovidsp.ovid.com/ovidweb.cgi?T=JS&PAGE=reference&D=psyc19&NEWS=N&AN=2019-68371-015"), NoAcess=true)
Closest candidates are:
Record(::Union{Missing, AbstractString}, ::Union{Missing, Base.UUID}, ::AbstractLocation, ::Taxonomy.AbstractMeta, ::Union{Missing, Dict{Symbol, Vector{Union{Study, AbstractJudgement}}}}) at C:\Users\leona.julia\packages\Taxonomy\lj7gB\src\record.jl:2 got unsupported keyword arguments "rater", "location", "NoAcess"
Record(::Any, ::String, ::Any, ::Any, ::Any) at C:\Users\leona.julia\packages\Taxonomy\lj7gB\src\record.jl:9 got unsupported keyword arguments "rater", "location", "NoAcess"
Record(::Any, ::Any, ::Any, ::Any, ::Any) at C:\Users\leona.julia\packages\Taxonomy\lj7gB\src\record.jl:2 got unsupported keyword arguments "rater", "location", "NoAcess"
...
Stacktrace:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant