Skip to content

Commit

Permalink
Fix for issue raised by sean on GFF3 loader
Browse files Browse the repository at this point in the history
  • Loading branch information
spficklin committed Jan 28, 2021
1 parent 8cff202 commit eb14706
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tripal_chado/includes/TripalImporter/GFF3Importer.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2154,6 +2154,9 @@ class GFF3Importer extends TripalImporter {
$start = $feature['start'];
// We can have multiple children that start at the same location
// so we'll store children in an array indexed by start position.
if (!array_key_exists($parent, $this->parent_lookup)) {
$this->parent_lookup[$parent] = [];
}
if (!array_key_exists($start, $this->parent_lookup[$parent])) {
$this->parent_lookup[$parent][$start] = [];
}
Expand Down

0 comments on commit eb14706

Please sign in to comment.