Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

[BUG] Sex column in query output has http://api.stardog.com/XXX values that do not resolve to anything #306

Closed
1 task done
Remi-Gau opened this issue Nov 29, 2023 · 2 comments
Labels
someday Not a priority right now, but we want to keep this around to think or discuss more. type:bug Defects in shipped code and fixes for those defects

Comments

@Remi-Gau
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Expected Behavior

For all rows for the Sex column of the output of a query to something meaningful.

Current Behavior

When running a query (in this case the simplest query to return all participants / sessions) I get a giant participant-level-results.tsv.

Some of the values in the Sex column point to things like http://api.stardog.com/9.796 which does not resolve to anything meaningful.

This concerns datasets:

Sex and Age columns are swapped:

000119: https://github.com/OpenNeuroDatasets/ds000119/blob/master/participants.tsv
000121: https://github.com/OpenNeuroDatasets/ds000121/blob/master/participants.tsv
001510: https://github.com/OpenNeuroDatasets/ds001510/blob/master/participants.tsv
002242: https://github.com/OpenNeuroDatasets/ds002242/blob/master/participants.tsv
002655: https://github.com/OpenNeuroDatasets/ds002655/blob/master/participants.tsv
003606: https://github.com/OpenNeuroDatasets/ds003606/blob/master/participants.tsv

Sex coded as 1 and 0

003424: https://github.com/OpenNeuroDatasets/ds003424/blob/master/participants.tsv
003453: https://github.com/OpenNeuroDatasets/ds003453/blob/master/participants.tsv

Animal data (not sure what the cause could be)

004145: https://github.com/OpenNeuroDatasets/ds004145/blob/master/participants.tsv

Error message

No error message

Environment

No response

How to reproduce

run the "default" query and check the TSV content

Anything else?

No response

@Remi-Gau Remi-Gau added the type:bug Defects in shipped code and fixes for those defects label Nov 29, 2023
@surchs surchs added the flag:schedule Flag issue that should go on the roadmap or backlog. label Dec 4, 2023
@surchs
Copy link
Contributor

surchs commented Dec 4, 2023

@alyssadai has some information about why this happens, we will look into how to prevent it from happening some other time

@surchs surchs added someday Not a priority right now, but we want to keep this around to think or discuss more. and removed flag:schedule Flag issue that should go on the roadmap or backlog. labels Dec 4, 2023
@surchs
Copy link
Contributor

surchs commented Mar 7, 2024

This is a data quality issue, tracking it here: neurobagel/planning#67

@surchs surchs closed this as completed Mar 7, 2024
@github-project-automation github-project-automation bot moved this to Review - Done in Neurobagel Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
someday Not a priority right now, but we want to keep this around to think or discuss more. type:bug Defects in shipped code and fixes for those defects
Projects
Archived in project
Development

No branches or pull requests

2 participants