Rappsilber-Laboratory / build-xiview

GNU General Public License v3.0
2 stars 0 forks source link

Export -> Make filtered Xi Url not working #15

Closed gieses closed 6 years ago

gieses commented 6 years ago

I tried to share a search with somebody (is this actually supposed to work without logging in?) but the link only shows an error message (also for me).

The URL is: https://xiview.org/xi3/network.php?FmanualMode=1&FfdrMode=0&Flinears=0&Fcrosslinks=1&FbetweenLinks=1&FselfLinks=1&FhomomultimericLinks=1&Fambig=1&FaaApart=0&FpepLength=1&FA=1&FB=1&FC=1&FQ=1&Funval=0&FAUTO=1&Fdecoys=0&FfdrThreshold=0.05&FinterFdrCut=&FintraFdrCut=&FpepSeq=&FprotNames=&Fcharge=&FrunName=&FscanNumber=&FurpPpi=1&FmatchScoreCutoff=%5B0,21%5D

The error is:

Error when attempting to load search. Query failed: ERROR: invalid input syntax for integer: "" LINE 1: SELECT * FROM uploads WHERE id = ''; ^

We are going to upload the data for the next paper in XiView. It's two searches, is there anything from your side that speaks against it / needs to be done?

Thanks.

martingraham commented 6 years ago

Looks like a bug in that the search id is nowhere in that url

On 19 Aug 2018 08:44, Sven Giese notifications@github.com wrote:

I tried to share a search with somebody (is this actually supposed to work without logging in?) but the link only shows an error message (also for me).

The URL is: https://xiview.org/xi3/network.php?FmanualMode=1&FfdrMode=0&Flinears=0&Fcrosslinks=1&FbetweenLinks=1&FselfLinks=1&FhomomultimericLinks=1&Fambig=1&FaaApart=0&FpepLength=1&FA=1&FB=1&FC=1&FQ=1&Funval=0&FAUTO=1&Fdecoys=0&FfdrThreshold=0.05&FinterFdrCut=&FintraFdrCut=&FpepSeq=&FprotNames=&Fcharge=&FrunName=&FscanNumber=&FurpPpi=1&FmatchScoreCutoff=%5B0,21%5D

The error is:

Error when attempting to load search. Query failed: ERROR: invalid input syntax for integer: "" LINE 1: SELECT * FROM uploads WHERE id = ''; ^

We are going to upload the data for the next paper in XiView. It's two searches, is there anything from your side that speaks against it / needs to be done?

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Rappsilber-Laboratory/xiView_container/issues/15, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADVEB5YGN8Z9Qy_C_NFj2ye3mJw341P6ks5uSRdkgaJpZM4WC3gl.

colin-combe commented 6 years ago

Looks like a bug in that the search id is nowhere in that url

Yes, I have broken it in xiView. Thanks for bug report, will fix.

We are going to upload the data for the next paper in XiView. It's two searches, is there anything from your side that speaks against it / needs to be done?

It should be OK. It could do with more testing cause there might be other things like above. I plan to give it a proper test when I add some updated documentation that Martin has been working on.

(@martingraham - I'll take doing documentation on the filtering to be on me)

gieses commented 6 years ago

@colin-combe sorry, another question. Speaks anything against sharing the link as:

https://xiview.org/xi3/network.php?upload=35-49786-17881-94522-79322

? The ultra long link does not fit very well in a printed document.