Преглед на файлове

Bug fix that makes GFFImporter caching of features work correctly

Risharde Ramnath преди 4 години
родител
ревизия
bde6690233
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {
     // 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
     $findex = ftell($this->gff_cache_file);