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

aiidateam / aiida_core / 4739 / 5
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 10 Dec 2018 09:21AM UTC
Files 412
Run time 1min
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 Dec 2018 09:10AM UTC coverage: 61.939% (-0.03%) from 61.971%
TEST_AIIDA_BACKEND=django TEST_TYPE="tests"

push

travis-ci

web-flow
Add `CalculationTools` base and entry point `aiida.tools.calculations` (#2331)

With the migration to the new provenance design, the type string of
calculation nodes, no longer refer to the actual sub class of the
`JobCalculation` that was run, but just the base `CalcJobNode`. The
actual class of the calculation process was stored in the `process_type`
if it could be mapped onto a known entry point.

However, this change means that when a user now loads a node of a
completed calculation node, let's say `PwCalculation`, the loaded node
will be an instance of `CalcJobNode` and not `PwCalculation`, which means
that any utility methods defined on the `PwCalculation` class are
inaccessible.

We can return this functionality through the concept of calculation
tools, which will get exposed through the `CalcJobNode` class and will
load a specifically registered entry point.

22851 of 36893 relevant lines covered (61.94%)

0.62 hits per line

Source Files on job 4739.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 24
  • Source Changed 2
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 707
  • Travis Job 4739.5
  • c9a1d7fe on github
  • Prev Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#4735.5)
  • Next Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#4747.5)
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