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

aiidateam / aiida-core / 7374
70%

Build:
DEFAULT BRANCH: develop
Ran 25 Oct 2019 01:40PM UTC
Jobs 4
Files 830
Run time 9min
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
7374

push

travis-ci

web-flow
Allow the usage of lambdas for `InputPort` default values (#3465)

This is made possible by upgrading `plumpy` to version `0.14.3`. This
functionality is useful to define defaults that should change at each
invocation, for example the generation of a seed. However, it also
provides a way to avoid the issues that arise when defining a default to
be an instance of a `Node`. Since a node instance is always regarded as
a mutable type by python, regardless whether it is stored or not, it can
cause unexpected behavior. For example when the node appointed to the
default value of a port is deleted in the database, the memory instance
remains and points to a no longer existing database row. The next time
it is accessed an exception will be thrown. Using a lambda avoids this
problem.

47775 of 66016 relevant lines covered (72.37%)

2.79 hits per line

Jobs
ID Job ID Ran Files Coverage
5 7374.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 25 Oct 2019 01:40PM UTC 0
69.37
Travis Job 7374.5
6 7374.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 25 Oct 2019 01:48PM UTC 0
69.28
Travis Job 7374.6
7 7374.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 25 Oct 2019 01:48PM UTC 0
70.21
Travis Job 7374.7
8 7374.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 25 Oct 2019 01:48PM UTC 0
70.12
Travis Job 7374.8
Source Files on build 7374
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7374
  • 6b62fa34 on github
  • Prev Build on develop (#7371)
  • Next Build on develop (#7395)
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