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

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

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 11 Oct 2018 09:57AM UTC
Jobs 6
Files 4
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
132

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()

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

70 of 438 relevant lines covered (15.98%)

0.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 132.1 11 Oct 2018 09:58AM UTC 0
15.98
Travis Job 132.1
2 132.2 11 Oct 2018 09:57AM UTC 0
15.98
Travis Job 132.2
3 132.3 11 Oct 2018 09:57AM UTC 0
15.98
Travis Job 132.3
4 132.4 11 Oct 2018 09:58AM UTC 0
15.98
Travis Job 132.4
5 132.5 11 Oct 2018 09:58AM UTC 0
15.98
Travis Job 132.5
6 132.6 11 Oct 2018 09:59AM UTC 0
15.98
Travis Job 132.6
Source Files on build 132
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #132
  • Pull Request #80
  • PR Base - master (#131)
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