-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wikipathways filtering id is inconsistent #265
Comments
Hi Manfred, all,
*Nope*,
"wp" is just our internal metadata identifier (and we do not encourage
anyone to use these via api,
because there can be values, e.g.: 'intact', 'intact_complex', 'wp1',
'wp2', 'wp3', 'reactome_mouse' now or in the future - depends how we
prepare and import data into PC...).
*However*, the /*search* query accepts absolute URIs as 'datasource'
filter values as well, i.e.:
http://beta.pathwaycommons.org/pc2/search?q=*&type=pathway&datasource=http://pathwaycommons.org/pc2/wp
(*note*: URL query parameters after /search? must be URL-encoded, though it
sometimes works as is in browsers);
but then, if you'd filter by the 'intact' URI you'd miss 'intact_complex'...
Although filtering by URI works now for all sources but Intact the same way
if you'd use corresponding standard name, I strongly do not recommend using
URI there...
(one can even do like datasource=w* but I would not recommend ;))
*Therefore,*
we want users *search by data provider's name*, which every data
portion/chunk behind the scene has, despite having different URIs.
Igor R.
…On Tue, Apr 4, 2017 at 4:48 PM, Manfred ***@***.***> wrote:
The wikipathways identifier is wp. Yet, the only name which is accepted
when filtering search results is wikipathways. In my opinion, the names
accepted for search filtering should be changed to accept both tokens.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#265>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA8fwY5EhM3t2x8qHeEwLqdSk-QTIKRLks5rsqyxgaJpZM4MzaHH>
.
|
On Tue, Apr 4, 2017 at 5:27 PM, Igo R ***@***.***> wrote:
datasource=w*
Correction: no, you cannot do: datasource=w* (wildcard filter values)
|
Ok thanks, will switch from using id to name. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The wikipathways identifier is
wp
. Yet, the only name which is accepted when filtering search results iswikipathways
. In my opinion, the names accepted for search filtering should be changed to accept both tokens.The text was updated successfully, but these errors were encountered: