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
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
patRoonto SIRIUS and then run the annotation. This is mostly fine, however, I cannot get thedbLinksfromGetStructureCandidates(). The related functionsGetStructureCandidatesPaged()andGetStructureCandidatesByFormula()also don't return the data. Briefly poking around, I noticed that thedbLinksare returned by the Api:sirius-client-openAPI/client-api_r/generated/R/features_api.R
Lines 4367 to 4378 in 6470a73
I.e.
local_var_resp$response_as_text()returns text with thedbLinks, so I guess the de-serialization fails or ignores this data.Thanks,
Rick