Эх сурвалжийг харах

Bug fix that makes GFFImporter caching of features work correctly

Risharde Ramnath 4 жил өмнө
parent
commit
bde6690233

+ 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);