Skip to content
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

Condition property of Category Experiments is empty on Semantic Search #67

Closed
cmirzayi opened this issue Mar 11, 2021 · 4 comments
Closed
Assignees
Labels
bug Something isn't working major

Comments

@cmirzayi
Copy link
Collaborator

Experiments (category) have a property called Condition (not to be confused with the Condition field of Semantic Search). When you try a Semantic Search to pull data from Experiments, you only get a single Condition and the rest of the rows are blank. Here's a Semantic Search where this happens:

{{#ask: [[Category:Experiments]]
 |?Condition
 |format=broadtable
 |limit=5000
 |offset=0
 |link=all
 |sort=Page sort number
 |order=asc
 |headers=show
 |mainlabel=-
 |searchlabel=... further results
 |class=sortable wikitable smwtable
}}

Compare to another property of Experiments which does display correctly:

{{#ask: [[Category:Experiments]]
 |?Group 0 name
 |format=broadtable
 |limit=5000
 |offset=0
 |link=all
 |sort=Page sort number
 |order=asc
 |headers=show
 |mainlabel=-
 |searchlabel=... further results
 |class=sortable wikitable smwtable
}}
@cmirzayi cmirzayi added the bug Something isn't working label Mar 11, 2021
@lwaldron
Copy link
Member

These are also missing in bulk experiments export (https://tinyurl.com/yb2fmpa3). I noticed they now show as red hyperlinks on study pages (https://bugsigdb.org/Study_4).

@tosfos
Copy link
Collaborator

tosfos commented Mar 17, 2021

Should be OK now. Please test and close. Here is a link to the above queries showing that the issue is fixed. Some of the Condition fields have processing errors, but other than that, the field should work fine now.

This issue was caused by an erroneous edit we did to support #55.

@lgeistlinger
Copy link
Collaborator

Hi @cmirzayi can you confirm that the issue is resolved and close if that's the case. Thanks!

@cmirzayi
Copy link
Collaborator Author

Can confirm it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

4 participants