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

openvax / datacache / 36370375516
96%
master: 93%

Build:
Build:
LAST BUILD BRANCH: feature/derived-materialization
DEFAULT BRANCH: master
Ran 28 Sep 2026 02:42AM UTC
Jobs 8
Files 14
Run time 1min
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

28 Sep 2026 02:34AM UTC coverage: 96.197% (+0.3%) from 95.852%
36370375516

Pull #76

github

iskandr
Add get_cache_root for a shared cache root; import pandas lazily (1.12.0)

OpenVax packages read OPENVAX_DATA_CACHE as the root itself, else use the
platform cache directory named openvax, with a package variable such as
OSTEOSARC_CACHE first. get_data_dir appends its subdir to an environment
value, and pyensembl relies on that, so osteosarc and Vaxrank each
re-implemented the rule. Add get_cache_root(name, *envkeys): the first
variable set to a non-blank value is the root, trimmed and ~-expanded,
else user_cache_dir(name). Document the shared OpenVax convention and its
<root>/objects/sha256 layout in the integration guide.

Importing datacache also imported pandas, numpy, and requests, about
350 ms, which is why osteosarc called appdirs directly instead. Import them
only in the functions that use them; importing datacache now takes about
35 ms. download.pd and download.requests still resolve to those modules,
through a module __getattr__.

Also release the db_type mapping of numpy fixed-width types.

Claude-Session: https://claude.ai/code/session_01WCxJuZirP1wNSKkNYxZsE5
Pull Request #76: Release 1.12.0: get_cache_root for a shared cache root, fast import

43 of 43 new or added lines in 5 files covered. (100.0%)

1 existing line in 1 file now uncovered.

1113 of 1157 relevant lines covered (96.2%)

7.68 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
95.89
-0.46% datacache/database_helpers.py
Jobs
ID Job ID Ran Files Coverage
1 36370375516.1 28 Sep 2026 02:42AM UTC 14
96.1
GitHub Action Run
2 36370375516.2 28 Sep 2026 02:42AM UTC 14
96.18
GitHub Action Run
3 36370375516.3 28 Sep 2026 02:42AM UTC 14
96.2
GitHub Action Run
4 36370375516.4 28 Sep 2026 02:43AM UTC 14
96.11
GitHub Action Run
5 36370375516.5 28 Sep 2026 02:43AM UTC 14
96.1
GitHub Action Run
6 36370375516.6 28 Sep 2026 02:43AM UTC 14
96.2
GitHub Action Run
7 36370375516.7 28 Sep 2026 02:44AM UTC 14
96.1
GitHub Action Run
8 36370375516.8 28 Sep 2026 02:44AM UTC 14
96.2
GitHub Action Run
Source Files on build 36370375516
  • Tree
  • List 14
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36370375516
  • Pull Request #76
  • PR Base - master (#36362812266)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc