Browse Source

Bug fix that makes GFFImporter caching of features work correctly

Risharde Ramnath 4 years ago
parent
commit
bde6690233
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado/includes/TripalImporter/GFF3Importer.inc

+ 1 - 1
tripal_chado/includes/TripalImporter/GFF3Importer.inc

@@ -1642,7 +1642,7 @@ class GFF3Importer extends TripalImporter {
    */
    */
   private function cacheFeature($gff_feature) {
   private function cacheFeature($gff_feature) {
     // Make sure we're at the end of the file.
     // Make sure we're at the end of the file.
-    fseek($this->gff_cache_file, SEEK_END);
+    fseek($this->gff_cache_file, 0, SEEK_END);
 
 
     // Get the index of this location
     // Get the index of this location
     $findex = ftell($this->gff_cache_file);
     $findex = ftell($this->gff_cache_file);