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

catmaid / CATMAID / 4836
45%
master: 45%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 10 May 2018 02:56PM UTC
Jobs 5
Files 93
Run time 30min
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
4836

push

travis-ci

tomka
Import management command: fix ID mapping of users and treenode parents

The introduction of statement level triggers for the skeleton summary
tables require a consistent treenode and class instance state after each
`mport statement. A consistent state means all referenced foreign keys
are available in the database. We currently use Django's deserialization
infrastructure, which relies heavily on the ORM. Therefore, importing
treenodes has gotten a tad more complicated. First, everything is
imported in a reasonable order by first storing semantic data like class
instances and only then moving on to spatial data. This allows skeletons
referenced by a treenode to be already present in the database. Second,
all treenodes are imported first without parent information, which
allows the statement level trigger to run and new IDs to be generated.
Once this is done a second pass will set the correct parent IDs.

Potentially more robust alternatives are: 1. disable the statement level
triggers during import and explicitly regenerate summaries after the
import completed and 2. create custom SQL to create treenodes in a
single statement (like SWC import) and have the statement level trigger
run only once.

7354 of 15239 relevant lines covered (48.26%)

2.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4836.1 10 May 2018 02:56PM UTC 0
48.09
Travis Job 4836.1
2 4836.2 10 May 2018 02:58PM UTC 0
48.17
Travis Job 4836.2
3 4836.3 10 May 2018 02:58PM UTC 0
48.18
Travis Job 4836.3
4 4836.4 10 May 2018 03:15PM UTC 0
46.61
Travis Job 4836.4
5 4836.5 10 May 2018 03:27PM UTC 0
46.66
Travis Job 4836.5
Source Files on build 4836
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4836
  • 4929f327 on github
  • Prev Build on dev (#4834)
  • Next Build on dev (#4837)
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