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

aiidateam / aiida_core / 4739
70%
develop: 74%

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

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.

25425 of 36890 relevant lines covered (68.92%)

2.46 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4739.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 10 Dec 2018 09:21AM UTC 0
61.94
Travis Job 4739.5
6 4739.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 10 Dec 2018 09:27AM UTC 0
61.92
Travis Job 4739.6
7 4739.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 10 Dec 2018 09:27AM UTC 0
60.98
Travis Job 4739.7
8 4739.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 10 Dec 2018 09:29AM UTC 0
60.94
Travis Job 4739.8
Source Files on build 4739
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4739
  • c9a1d7fe on github
  • Prev Build on provenance_redesign (#4735)
  • Next Build on provenance_redesign (#4747)
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

© 2025 Coveralls, Inc