• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

neurobagel / api / 6565267296
97%

Build:
DEFAULT BRANCH: main
Ran 18 Oct 2023 06:50PM UTC
Jobs 1
Files 12
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Oct 2023 06:49PM UTC coverage: 99.826% (+0.04%) from 99.786%
6565267296

push

github

web-flow
[ENH] Add endpoint that returns term ID-label mappings for vocab of a given attribute (`nb:Assessment`) (#201)

* add response model for term labels path

* add startup and util functions to fetch and temporarily store cogatlas term labels

* configure pre-commit to ignore files in new backup vocab directory

* add backup JSON dump of cogatlas vocab

* make data element URI an enum for vocab term label lookup

* add path operation and crud function for vocab term label lookup endpoint
- crud function processes fetched (temporary) term-label mappings and adds vocab info

* refactor out json file loader

* refactor vocab file prefix into a dictionary for reuse

* update docstrings

* remove extra param in function call

* add tests of new startup events to fetch + store vocab and of new endpoint

* update codespell config to ignore external vocab files

* update return type annotations and docstrings for crud funcs

* merge startup hooks for vocab handling and add more comments

* simplify return statement

* use more appropriate status code for failed external API request test

* store actual filepath of cogatlas term lookup file on app state

113 of 113 new or added lines in 6 files covered. (100.0%)

575 of 576 relevant lines covered (99.83%)

1.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6565267296.1 18 Oct 2023 06:50PM UTC 0
94.87
GitHub Action Run
Source Files on build 6565267296
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6565267296
  • 036fb3b8 on github
  • Prev Build on main (#6474650526)
  • Next Build on main (#6601525114)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc