Skip to content

RSirius: GetStructureCandidates*() functions from features API don't return dbLinks #186

@rickhelmus

Description

@rickhelmus

Hello,

I am slowly updating to the new SIRIUS 6.0 API, which is generally a nice improvement over the previous fiddling with the CLI :-)

So far I have been using the features API to to export features and MS data from patRoon to SIRIUS and then run the annotation. This is mostly fine, however, I cannot get the dbLinks from GetStructureCandidates(). The related functions GetStructureCandidatesPaged() and GetStructureCandidatesByFormula() also don't return the data. Briefly poking around, I noticed that the dbLinks are returned by the Api:

local_var_resp <- self$api_client$CallApi(url = paste0(self$api_client$base_path, local_var_url_path),
method = "GET",
query_params = query_params,
header_params = header_params,
form_params = form_params,
file_params = file_params,
accepts = local_var_accepts,
content_types = local_var_content_types,
body = local_var_body,
is_oauth = is_oauth,
oauth_scopes = oauth_scopes,
...)

I.e. local_var_resp$response_as_text() returns text with the dbLinks, so I guess the de-serialization fails or ignores this data.

Thanks,
Rick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions