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

aiidateam / aiida-core / 7245
70%

Build:
DEFAULT BRANCH: develop
Ran 10 Oct 2019 11:03AM UTC
Jobs 4
Files 1218
Run time 10min
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
7245

push

travis-ci

web-flow
Prune input mapping of `ProcessBuilder` before creating `Process` (#3389)

The validation of a `ProcessSpec` will trigger for a port as soon as a
value has been passed. For a port namespace this is also the case, even
if it contains no actual values. This was a problem when launching a
process from a `ProcessBuilder`. If it contained an optional namespace,
it would always pass at least an empty dictionary for said port, even if
the user did not specify any specific input within it. This would then
always trigger the validation which would fail. This limitation made the
concept of optional port namespaces fundamentally incompatible with the
`ProcessBuilder`. Here we add a method to "prune" the input mapping of a
builder before it is being passed to the process constructor. This will
remove any port namespace that is completely empty, meaning it contains
no other values other than other empty dictionaries (namespaces).

70867 of 98285 relevant lines covered (72.1%)

2.76 hits per line

Jobs
ID Job ID Ran Files Coverage
5 7245.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 10 Oct 2019 11:03AM UTC 0
68.64
Travis Job 7245.5
6 7245.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 10 Oct 2019 11:10AM UTC 0
68.55
Travis Job 7245.6
7 7245.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 10 Oct 2019 11:10AM UTC 0
69.49
Travis Job 7245.7
8 7245.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 10 Oct 2019 11:12AM UTC 0
69.42
Travis Job 7245.8
Source Files on build 7245
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7245
  • fff3cadc on github
  • Prev Build on develop (#7243)
  • Next Build on develop (#7252)
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