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

Ouranosinc / xclim / 8071512339
92%

Build:
DEFAULT BRANCH: main
Ran 27 Feb 2024 09:27PM UTC
Jobs 2
Files 70
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

27 Feb 2024 09:20PM UTC coverage: 90.196% (+0.003%) from 90.193%
8071512339

push

github

web-flow
Add missing formatting words and operations for generic stats (#1672)

<!--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:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes an issue raised by chat by @RondeauG 
- [x] Tests for the changes have been added (for bug fixes / features
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [x] CHANGES.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?

* Adds "integral", "count", "doymin" and "doymax" to the formattable
words known by xclim. This would allow customizing long names and
description. This mostly touches `generic.stats` for the moment.
    - I couldn't find how to word "count" and "doym??" as adjective...
* I realized `doymin` was not accessible to ` generic.stats`, so I added
a mechanism to do it.

### Does this PR introduce a breaking change?
No. It kinda only removes a warning for now : When `op='integral'` in
`generic.stats`, the previous code raised a warning and then puts
"integral"... which is what my added mapping does too.

### Other information:

3 of 3 new or added lines in 1 file covered. (100.0%)

8648 of 9588 relevant lines covered (90.2%)

6.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.tox-env }}-{{ matrix.os }} - 8071512339.1 29 Feb 2024 06:03PM UTC 0
90.19
2 run-{{ matrix.tox-env }}-opt-slow - 8071512339.2 29 Feb 2024 06:03PM UTC 0
89.88
Source Files on build 8071512339
Detailed source file information is not available for this build.
  • Back to Repo
  • 408fad87 on github
  • Prev Build on main (#8067817550)
  • Next Build on main (#8205720276)
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