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

dhhagan / py-opc / 132 / 6
16%
master: 14%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 11 Oct 2018 09:59AM UTC
Files 4
Run time 0s
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

11 Oct 2018 09:56AM UTC coverage: 15.982%. Remained the same
132.6

Pull #80

travis-ci

web-flow
TypeError: unorderable types:dict()<int()

I am getting this issue from time to time:

  File "/home/pi/AQ/Code/classes/OPC.py", line 143, in read
    hist=self.alpha.histogram(number_concentration=False)
  File "/home/pi/.local/lib/python3.5/site-packages/opc/__init__.py", line 545, in histogram
    data['Sampling Period'] = self._calculate_period(resp[44:48])
  File "/home/pi/.local/lib/python3.5/site-packages/opc/__init__.py", line 176, in _calculate_period
    if self.firmware < 16:
TypeError: unorderable types: dict() < int()


I think that this change should fix it.
Pull Request #80: TypeError: unorderable types:dict()<int()

70 of 438 relevant lines covered (15.98%)

0.16 hits per line

Source Files on job 132.6
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 119
  • Travis Job 132.6
  • bb8707f2 on github
  • Prev Job for on patch-1 (#131.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