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

aiidateam / aiida-core / 7216
70%

Build:
DEFAULT BRANCH: develop
Ran 07 Oct 2019 06:01AM UTC
Jobs 4
Files 1218
Run time 11min
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
7216

push

travis-ci

web-flow
Centralize definition of graph traversal rule toggleability and default (#3394)

The available graph traversal rules are identical for node export and
deletion. Only the toggleability and defaults differs for each of the
two scenarios. To prevent mistakes, we centralize their definition in
one location. Two dictionaries in `aiida.common.links` provide a mapping
of each traversal rule onto a named tuple that records the default value
and toggleability.

This notation allows for dynamic code, for example, the command line
options that toggle the rules are now generated dynamically for the
`verdi export create` and `verdi node delete` commands.

In addition, the old `LINK_FLAG` data structure was defined in the
`aiida.tools.importexport` module which indirectly causeed `verdi` to
slow down. The dictionary was needed to generate the command options
and by importing it, indirectly the `aiida.orm` module was imported.

71311 of 98192 relevant lines covered (72.62%)

2.76 hits per line

Jobs
ID Job ID Ran Files Coverage
5 7216.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 07 Oct 2019 06:01AM UTC 0
68.58
Travis Job 7216.5
6 7216.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 07 Oct 2019 06:07AM UTC 0
68.5
Travis Job 7216.6
7 7216.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 07 Oct 2019 06:07AM UTC 0
69.44
Travis Job 7216.7
8 7216.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 07 Oct 2019 06:11AM UTC 0
69.36
Travis Job 7216.8
Source Files on build 7216
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7216
  • f70d09fe on github
  • Prev Build on develop (#7214)
  • Next Build on develop (#7220)
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