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

aiidateam / aiida-core / 7245 / 7
70%
develop: 70%

Build:
DEFAULT BRANCH: develop
Ran 10 Oct 2019 11:10AM UTC
Files 406
Run time 22s
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

10 Oct 2019 10:50AM UTC coverage: 69.493% (+0.01%) from 69.483%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

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).

22768 of 32763 relevant lines covered (69.49%)

0.69 hits per line

Source Files on job 7245.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 455
  • Travis Job 7245.7
  • fff3cadc on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#7243.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#7252.7)
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