Thomas 4 سال پیش
والد
کامیت
b2bea97464
2فایلهای تغییر یافته به همراه1 افزوده شده و 7 حذف شده
  1. 1 1
      index.js
  2. 0 6
      index.ts

+ 1 - 1
index.js

@@ -1,5 +1,5 @@
 "use strict";
-// https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/taxonomic_divisions/uniprot_trembl_human.xml.gz
+// https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/taxonomic_divisions/uniprot_sprot_human.xml.gz
 var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
     return new (P || (P = Promise))(function (resolve, reject) {

+ 0 - 6
index.ts

@@ -10,12 +10,6 @@ const line$ = (path: string) => readline.createInterface({
 })
 
 const makeIndex = async (filePath: string, indexPath?: string) => {
-    interface entry {
-        filePath: string;
-        value   : string;
-        from    : number;
-        to     ?: number;
-    }
     indexPath = indexPath || filePath + '.jsi'
 
     let byteAcc = 0