瀏覽代碼

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