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

aiidateam / aiida_core / 4738
68%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 10 Dec 2018 09:02AM UTC
Jobs 4
Files 412
Run time 9min
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
4738

Pull #2331

travis-ci

web-flow
Add `CalculationTools` base and entry point `aiida.tools.calculations`

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.
Pull Request #2331: Add `CalculationTools` base and entry point `aiida.tools.calculations`

29 of 29 new or added lines in 4 files covered. (100.0%)

25052 of 36890 relevant lines covered (67.91%)

2.46 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4738.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 10 Dec 2018 09:02AM UTC 0
61.94
Travis Job 4738.5
6 4738.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 10 Dec 2018 09:09AM UTC 0
61.89
Travis Job 4738.6
7 4738.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 10 Dec 2018 09:08AM UTC 0
60.98
Travis Job 4738.7
8 4738.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 10 Dec 2018 09:08AM UTC 0
60.94
Travis Job 4738.8
Source Files on build 4738
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4738
  • Pull Request #2331
  • PR Base - provenance_redesign (#4735)
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