Skip to content

Use recursive query to set relation levels from GFF#237

Open
aliciaaevans wants to merge 4 commits intodaler:masterfrom
aliciaaevans:gff_recursive_parents
Open

Use recursive query to set relation levels from GFF#237
aliciaaevans wants to merge 4 commits intodaler:masterfrom
aliciaaevans:gff_recursive_parents

Conversation

@aliciaaevans
Copy link

This fixes #204

Rather than using a temp file and only looking for grandchildren when updated the relations table, use a recursive SQL query to support a greater number of levels.

The GFF temp file is removed from test_tempfiles() because there is no need to create a temp file for GFF now.

Added a test based on @dariober's example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

db.parents(id) stops at level 2?

1 participant