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

Ouranosinc / xclim / 10014748698
92%

Build:
DEFAULT BRANCH: main
Ran 19 Jul 2024 09:54PM 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

19 Jul 2024 09:49PM UTC coverage: 90.679% (+0.02%) from 90.658%
10014748698

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:

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

8833 of 9741 relevant lines covered (90.68%)

5.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.tox-env }}-opt-slow - 10014748698.1 19 Jul 2024 10:00PM UTC 0
89.73
GitHub Action Run
2 run-{{ matrix.tox-env }}-{{ matrix.os }} - 10014748698.2 19 Jul 2024 10:00PM UTC 0
90.64
GitHub Action Run
Source Files on build 10014748698
Detailed source file information is not available for this build.
  • Back to Repo
  • 32341d9e on github
  • Prev Build on main (#10011251159)
  • Next Build on main (#10060426754)
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