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

openego / eDisGo / 40868184350
86%
dev: 87%

Build:
Build:
LAST BUILD BRANCH: fix/801-opf-v3-curtailment
DEFAULT BRANCH: dev
Ran 29 Oct 2026 12:34PM UTC
Jobs 1
Files 67
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

29 Oct 2026 11:48AM UTC coverage: 86.308% (+0.05%) from 86.262%
40868184350

Pull #837

github

joda9
Select several separate ranges with set_timeindex

set_timeindex took either a list of timestamps or one start/periods/end
range. Selecting e.g. two separate weeks meant listing all 336 hours.

- New parameter ranges: a list of ranges with exactly a start plus
  either periods or end each; freq is set once for all ranges. The
  ranges are joined into one sorted time index without duplicates, and
  the gaps between them are kept. A single start/periods/end range is
  handled as one range of ranges, so both share one code path.
- In a config that extends a preset, the set_timeindex params replace
  the preset's params they cannot be combined with: timestamps and
  ranges replace start, periods, end and each other, end replaces
  periods, periods replaces end. Before, deep_merge kept both, and the
  unused preset params had to be set to null. Within one config,
  conflicting params are still an error.
- The validator rejects before the run: an empty list of ranges, a
  range with other keys than start plus periods or end (e.g. its own
  freq), a range without time steps, and time steps in more than one
  year. The last two also apply to a single range and to timestamps:
  _set_timeindex shifts all time steps by the year of the first one, so
  on a loaded time series a second year gave empty time series with
  only a warning.
Pull Request #837: Select several separate ranges with set_timeindex

40 of 40 new or added lines in 2 files covered. (100.0%)

10161 of 11773 relevant lines covered (86.31%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40868184350.1 29 Oct 2026 12:34PM UTC 67
86.31
GitHub Action Run
Source Files on build 40868184350
  • Tree
  • List 67
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #837
  • PR Base - dev (#40861378973)
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