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

labrad / pylabrad / 539
60%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2016 06:29PM UTC
Jobs 1
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

pending completion
539

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

Jobs
ID Job ID Ran Files Coverage
1 539.1 (SCALABRAD_VERSION=0.5.1) 03 Mar 2016 06:29PM UTC 0
53.73
Travis Job 539.1
Source Files on build 539
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #539
  • a0f44f31 on github
  • Prev Build on master (#533)
  • Next Build on master (#544)
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