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

ladybug-tools / ladybug / 1063 / 3
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/ladybug-geometry-1.23.9
DEFAULT BRANCH: master
Ran 25 Jul 2020 03:14AM UTC
Files 54
Run time 3s
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

25 Jul 2020 03:07AM UTC coverage: 91.909%. First build
1063.3

push

travis-ci

chriswmackey
feat(wea): Add support for discontinuous data in Wea objects

This commit makes it possible to use hourly discontinuous data collections for Wea objects. It also adds a range of methods to produce filtered Weas based on certain criteria including:

* filter_by_pattern
* filter_by_analysis_period
* filter_by_hoys
* filter_by_moys
* filter_by_sun_up

I also fixed a bug in the previous performance improvement of AnalysisPeriod.__len__() that I added last week. And I added a from_start_end_datetime method to AnalysisPeriod that I am already making use of in this commit and I know I will use elsewhere. Lastly, I verified that the AnalysisPeriod.from_analysis_period method is not being used by any of the Grasshopper plugins and I removed it before any other developers feel the temptation to make use of it. It just feels like it's a liability the longer it remains in the code base and it's best to rip the band aid off now.

Lastly, I fixed a small bug in the data collection __key() property and improved / standardized a few of the docstrings that I came across.

There are a couple of Grasshopper components using the Wea class that I should update to align with this PR but, otherwise, this is all ready to merge.

Resolves https://github.com/ladybug-tools/ladybug/issues/265

7622 of 8293 relevant lines covered (91.91%)

0.92 hits per line

Source Files on job 1063.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 907
  • Travis Job 1063.3
  • 69e39f6f on github
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