-
Notifications
You must be signed in to change notification settings - Fork 4
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
[MNT] Replaced Cognitive Atlas with SNOMED #397
base: main
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request replaces the Cognitive Atlas vocabulary with SNOMED for assessments. It updates the API endpoint, data fetching logic, and tests to reflect this change. A local copy of the SNOMED vocabulary is now used for lookups. Class diagram showing updated vocabulary handlingclassDiagram
class VocabHandler {
+create_snomed_assessment_lookup(output_path)
+create_snomed_disorder_lookup(output_path)
-load_json(path)
}
note for VocabHandler "Replaced fetch_and_save_cogatlas with SNOMED handlers"
class Router {
+get_vocab()
+get_instances()
}
class RouteFactory {
+create_get_vocab_handler(external_vocab, vocab_name, namespace_prefix)
}
Router --> RouteFactory: uses
Router --> VocabHandler: uses
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #397 +/- ##
==========================================
- Coverage 97.09% 96.94% -0.15%
==========================================
Files 24 24
Lines 861 819 -42
==========================================
- Hits 836 794 -42
Misses 25 25 ☔ View full report in Codecov by Sentry. |
Checklist
This section is for the PR reviewer
[ENH]
,[FIX]
,[REF]
,[TST]
,[CI]
,[MNT]
,[INF]
,[MODEL]
,[DOC]
) (see our Contributing Guidelines for more info)skip-release
(to be applied by maintainers only)Closes #XXXX
For new features:
For bug fixes:
Summary by Sourcery
Switch from using the Cognitive Atlas to SNOMED CT for assessments.