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

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

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 18 Jan 2019 08:20AM UTC
Files 397
Run time 16s
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

18 Jan 2019 07:55AM UTC coverage: 62.081% (+0.01%) from 62.069%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

Pull #2393

travis-ci

web-flow
Implement functionality to export and import `Log` entries.

The native logging of python is extended with a `DbLogHandler` that
will, when it is configured for a specific AiiDA entity (a Node, Group
or any other database entity), store a copy of the record in the `DbLog`
table with a reference to the entity it belongs to. Since the entities
do not necessarily live in the same table, a foreign key could not be
used, so instead the primary key was stored as well. However, when
exporting and importing entities and their log messages, the entities
would get new primary keys, which would orphan the log messages. The
attribute that is persistent across exporting and importing is the UUID.
Therefore the reference attribute for log entries to their entities has
been changed from the `pk` to the `uuid`.
Pull Request #2393: Necessary changes to properly export and import log records.

21452 of 34555 relevant lines covered (62.08%)

0.62 hits per line

Source Files on job 4927.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 135
  • Source Changed 121
  • Coverage Changed 134
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 853
  • Travis Job 4927.7
  • aa280e05 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on issue_1759_v3 (#4926.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