Skip to content

Commit

Permalink
fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Nov 11, 2024
1 parent b0718af commit f675e09
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions store/neurostore/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,15 +598,18 @@ def simple_neurosynth_annotation(session, ingest_neurosynth):
),
('"autism" OR "ASD" OR "autistic" OR ', "Query cannot end with an operator"),
(
'(("Autism Spectrum Disorder" OR "autism spectrum disorder") OR ("Autism" OR "autism") OR ("ASD")) AND (("decision*" OR "Dec',
'(("Autism Spectrum Disorder" OR "autism spectrum disorder") OR ("Autism" OR "autism") '
'OR ("ASD")) AND (("decision*" OR "Dec',
"Unmatched parentheses",
),
]

valid_queries = [
(
'"Mild Cognitive Impairment" or "Early Cognitive Decline" or "Pre-Dementia" or "Mild Neurocognitive Disorder"',
"MILD<->COGNITIVE<->IMPAIRMENT | EARLY<->COGNITIVE<->DECLINE | PRE<->DEMENTIA | MILD<->NEUROCOGNITIVE<->DISORDER",
'"Mild Cognitive Impairment" or "Early Cognitive Decline" or "Pre-Dementia" or '
'"Mild Neurocognitive Disorder"',
"MILD<->COGNITIVE<->IMPAIRMENT | EARLY<->COGNITIVE<->DECLINE | PRE<->DEMENTIA | "
"MILD<->NEUROCOGNITIVE<->DISORDER",
),
(
'("autism" OR "ASD" OR "autistic") AND ("decision" OR "choice")',
Expand All @@ -617,12 +620,18 @@ def simple_neurosynth_annotation(session, ingest_neurosynth):
"STROOP & DEPRESSION | BACK & DEPRESSION | GO",
),
(
'("autism" OR "ASD" OR "autistic") AND (("decision" OR "decision-making" OR "choice" OR "selection" OR "option" OR "value") OR ("feedback" OR "feedback-related" OR "reward" OR "error" OR "outcome" OR "punishment" OR "reinforcement"))',
"(AUTISM | ASD | AUTISTIC) & ((DECISION | DECISION<->MAKING | CHOICE | SELECTION | OPTION | VALUE) | (FEEDBACK | FEEDBACK<->RELATED | REWARD | ERROR | OUTCOME | PUNISHMENT | REINFORCEMENT))",
'("autism" OR "ASD" OR "autistic") AND (("decision" OR "decision-making" OR "choice" OR '
'"selection" OR "option" OR "value") OR ("feedback" OR "feedback-related" OR "reward" OR '
'"error" OR "outcome" OR "punishment" OR "reinforcement"))',
"(AUTISM | ASD | AUTISTIC) & ((DECISION | DECISION<->MAKING | CHOICE | SELECTION | OPTION "
"| VALUE) | (FEEDBACK | FEEDBACK<->RELATED | REWARD | ERROR | OUTCOME | PUNISHMENT | "
"REINFORCEMENT))",
),
(
'"dyslexia" or "Reading Disorder" or "Language-Based Learning Disability" or "Phonological Processing Disorder" or "Word Blindness"',
"DYSLEXIA | READING<->DISORDER | LANGUAGE<->BASED<->LEARNING<->DISABILITY | PHONOLOGICAL<->PROCESSING<->DISORDER | WORD<->BLINDNESS",
'"dyslexia" or "Reading Disorder" or "Language-Based Learning Disability" or '
'"Phonological Processing Disorder" or "Word Blindness"',
"DYSLEXIA | READING<->DISORDER | LANGUAGE<->BASED<->LEARNING<->DISABILITY | "
"PHONOLOGICAL<->PROCESSING<->DISORDER | WORD<->BLINDNESS",
),
("emotion and pain -physical -touch", "EMOTION & PAIN & -PHYSICAL & -TOUCH"),
(
Expand Down

0 comments on commit f675e09

Please sign in to comment.