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

aiidateam / aiida_core / 5074 / 7
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 08 Feb 2019 12:28PM UTC
Files 394
Run time 47s
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

08 Feb 2019 11:48AM UTC coverage: 61.91%. Remained the same
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

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`

21453 of 34652 relevant lines covered (61.91%)

0.62 hits per line

Source Files on job 5074.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 17
  • Source Changed 1
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 954
  • Travis Job 5074.7
  • ee966b33 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on fix_2444_nested_calcfunctions (#5071.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