You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it seems that with version 6 the CLI only exports a limited amount of data, I will have to start from scratch and a build a new interface in patRoon that uses the API. All seems quite well when using Swagger, and I'm happy to see things are quite well organized and accessible now. I noticed there is an OpenAPI export of the R package, but I seem to run in quite a few issues. Is this still in active development and is it better to wait a bit?
Anyway, below are some issues I encountered. I started of with the test code.
Project creation:
>sirius_api$projects_api$CreateProjectSpace(project_id, project_dir)
Error:lexicalerror:insideastring, '\' occurs before a character which it may not. ,"location": "C:\sir_test\test2.sirius" (right here) ------^
I think backslashes are not properly escaped when retrieved from the server (input is with forward slashes). The project is created fine though.
In SIRIUS 6 we switched to an embedded database for storage and a separate public API to make tools and data accessible from the outside. The old file/folder based storage solution is entirely gone. The summary tsv/csv/xlsx files can still be exported though. This clean separation allows us to maintain a backward compatible public API without blocking further development. Switching to the new API with patRoon should be stable for a long time then.
The API specification is stable and will not not change anymore but will be extended over time. There are a few parts that are flagged as experimental but they are probably not even part of the SDK anyways (mostly endpoints to access masstraces and feature quality).
During November we have a project going on that will heavily utilize the R SDK and likely lead to bug fixes and increased test coverage. So it's currently a good time for feedback and bug reports :-)
Since SIRIUS 6, canopus prediction are a mandatory input to perform structure database search the classed became a feature of the improved confidence score estimation. So not enabling canopus will cause structure db search to fail. It is nevertheless a bit weird that your are getting these type errors when requesting results. We will look into that as well as into the issue with badly escaped file paths.
Thanks for your detailed reply and clarifications! I am quite happy to hear that stability is a major goal here, as this was sometimes a bit of a maintenance struggle for me in the past ;-) The summary files are a bit too limited for me now, as I also need more detailed info like MS2 annotations and fingerprints. But in any case, porting everything to the API makes most sense.
Glad to hear the R SDK will receive more testing to iron out further issues. Once things are stabilized a bit further I will continue, and potentially add some noise again ;-)
Hi guys,
As it seems that with version 6 the CLI only exports a limited amount of data, I will have to start from scratch and a build a new interface in patRoon that uses the API. All seems quite well when using Swagger, and I'm happy to see things are quite well organized and accessible now. I noticed there is an OpenAPI export of the R package, but I seem to run in quite a few issues. Is this still in active development and is it better to wait a bit?
Anyway, below are some issues I encountered. I started of with the test code.
Project creation:
I think backslashes are not properly escaped when retrieved from the server (input is with forward slashes). The project is created fine though.
Running a simple job:
The first warnings appear harmless. All works fine if I keep canopus enabled (for which I have no interest atm).
Trying to get some results:
All of these works fine with the swagger interface.
Thanks,
Rick
The text was updated successfully, but these errors were encountered: