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

labrad / pylabrad / 539 / 1
60%
master: 60%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2016 06:29PM UTC
Files 52
Run time 4s
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

03 Mar 2016 06:29PM UTC coverage: 53.732% (+0.2%) from 53.496%
SCALABRAD_VERSION=0.5.1

push

travis-ci

maffoo
Add method to get flattenable representation of a packet.

As we build packets we use type information on settings to flatten data
to types appropriate for those settings. In some situations, we would
like to turn this packet data into a structure that can itself be
flattened and sent via labrad, for example to be forwarded by another
server to the actual target server. In order to do this, we need to be
able to handle flattening structures some of whose parts have already
been flattened.

This change adds a flatten method on LRType which can handle incoming
data that has already been flattened before delegating to the existing
__flatten__ method. This method returns FlatData instead of just a
tuple, which also allows us to simplify the implementation of the
top-level flatten function.

Review: @ejeffrey

4650 of 8654 relevant lines covered (53.73%)

0.54 hits per line

Source Files on job 539.1 (SCALABRAD_VERSION=0.5.1)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 539
  • Travis Job 539.1
  • a0f44f31 on github
  • Prev Job for SCALABRAD_VERSION=0.5.1 on master (#533.1)
  • Next Job for SCALABRAD_VERSION=0.5.1 on master (#544.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