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

aiidateam / aiida_core / 5074
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 08 Feb 2019 12:24PM UTC
Jobs 4
Files 394
Run time 23min
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
5074

Pull #2464

travis-ci

web-flow
Ensure nested `calcfunctions` work as long `store_provenance=False`

In principle `calcfunctions` are not allowed to call other `calcfunctions`
because a calculation is not allowed to call other calculations.
However, `calcfunctions` can be called as normal functions by setting
the metadata variable `store_provenance` to `False`. Therefore, as long
as `store_provenance` is turned off for nested functions, a
`calcfunction` is allowed to call other `calcfunctions`.

To make this work, the `Process._setup_db_record` method had to be
adapted to only add a call link to the parent process, if and only if
`store_provenance` for the child node is enabled. Otherwise, the link
validation would fail since a `CALL` link outgoing of a
`CalculationNode` is forbidden.
Pull Request #2464: Ensure nested `calcfunctions` work as long `store_provenance=False`

1 of 1 new or added line in 1 file covered. (100.0%)

24165 of 34649 relevant lines covered (69.74%)

2.51 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5074.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 08 Feb 2019 12:24PM UTC 0
63.62
Travis Job 5074.5
6 5074.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 08 Feb 2019 12:25PM UTC 0
63.55
Travis Job 5074.6
7 5074.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 08 Feb 2019 12:28PM UTC 0
61.91
Travis Job 5074.7
8 5074.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 08 Feb 2019 12:47PM UTC 0
61.85
Travis Job 5074.8
Source Files on build 5074
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5074
  • Pull Request #2464
  • PR Base - provenance_redesign (#5071)
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