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

Ouranosinc / xscen / 12832930116
90%

Build:
DEFAULT BRANCH: main
Ran 17 Jan 2025 04:29PM UTC
Jobs 6
Files 19
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

17 Jan 2025 04:24PM UTC coverage: 87.326% (+0.03%) from 87.295%
12832930116

push

github

web-flow
Strip catalog attributes - Optional reconstruction version. (#501)

<!-- Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #499 and fixes #500.
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [x] (If applicable) Tests have been added.
- [x] This PR does not seem to break the templates.
- [x] CHANGELOG.rst has been updated (with summary of main changes).
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added.

### What kind of change does this PR introduce?

* New `strip_cat_attrs` utility to remove those attributes added by the
catalog opening functions.
    + Use this by default in `save_to_zarr` and `save_to_netcdf`.
* In `build_path`, added possibility to have aggregated folder levels
with optional components.
    + Make `version` optionnal in the non-sim schemas.

### Does this PR introduce a breaking change?
* Yes. Saved files will have a few attributes removed. 
* Yes. `build_path` will not fail on a reconstruction dataset missing a
version.

13 of 13 new or added lines in 3 files covered. (100.0%)

3941 of 4513 relevant lines covered (87.33%)

5.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Python3.12-conda - 12832930116.1 17 Jan 2025 04:30PM UTC 19
87.21
GitHub Action Run
2 run-Python3.10-conda - 12832930116.2 17 Jan 2025 04:30PM UTC 19
87.21
GitHub Action Run
3 run-Python3.11 - 12832930116.3 17 Jan 2025 04:30PM UTC 19
84.53
GitHub Action Run
4 run-Python3.11-conda - 12832930116.4 17 Jan 2025 04:30PM UTC 19
87.21
GitHub Action Run
5 run-Python3.10 - 12832930116.5 17 Jan 2025 04:30PM UTC 19
84.53
GitHub Action Run
6 run-Python3.12 - 12832930116.6 17 Jan 2025 04:30PM UTC 19
84.53
GitHub Action Run
Source Files on build 12832930116
  • Tree
  • List 19
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9925181d on github
  • Prev Build on main (#12815183736)
  • Next Build on main (#12875683298)
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