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

Ouranosinc / xclim / 10014748698 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 19 Jul 2024 10:00PM UTC
Files 70
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

19 Jul 2024 09:49PM UTC coverage: 89.734% (+0.02%) from 89.714%
10014748698.1

push

github

web-flow
Fix time indexer encoder and parser in fitting standardized index and… (#1843)

<!--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 #1842 
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [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?

Fix the encoder and parser for the time indexer in the
`xc.indices.stats.standardized_index_fit_params` and
`xc.indices.stats.standardized_index` to allow no indexer, non-array
indexers, and multiple indexers.

### Does this PR introduce a breaking change?

No. But the new parser is not compatible with the previous as the format
of params.attrs["time_indexer"] is different. If any saved `params` from
previous version were reloaded, it may lead to errors.

### Other information:

8741 of 9741 relevant lines covered (89.73%)

1.79 hits per line

Source Files on job run-{{ matrix.tox-env }}-opt-slow - 10014748698.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10014748698
  • 32341d9e on github
  • Prev Job for on main (#10011251159.2)
  • Next Job for on main (#10060426754.1)
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