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

ladybug-tools / ladybug / 1062
91%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2020 03:10AM UTC
Jobs 3
Files 54
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

pending completion
1062

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

208 of 208 new or added lines in 4 files covered. (100.0%)

7622 of 8293 relevant lines covered (91.91%)

1.84 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1062.2 25 Jul 2020 03:10AM UTC 0
91.91
Travis Job 1062.2
3 1062.3 25 Jul 2020 03:10AM UTC 0
91.91
Travis Job 1062.3
4 1062.4 25 Jul 2020 03:12AM UTC 0
0.0
Travis Job 1062.4
Source Files on build 1062
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1062
  • 69e39f6f on github
  • Prev Build on master (#1058)
  • Next Build on master (#1065)
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