Skip to content

get_all_assays() fields gene, assayList, and citations broken #62

@cthunes

Description

@cthunes

Bioactivity assay annotation endpoints (all and by-aeid) now properly return gene, assayList, and citations as arrays of objects, rather than just an object. get_all_assays() returns these as NULL incorrectly. This does not appear to have affected get_annotation_by_aeid(). Since public API still returns an object for these fields, the solution (at least temporarily) may have to involve checking whether gene, assayList, and citations (in R) are a list (JSON object) or a list of lists (list of JSON objects).

ctxR::get_all_assays(Server = "https://ctx-api-dev.ccte.epa.gov/bioactivity")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions