Thomas %!s(int64=4) %!d(string=hai) anos
pai
achega
f932aa290b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      index.ts

+ 1 - 1
index.ts

@@ -74,7 +74,7 @@ const getEnrty = async (dbPath:string, accession:string) => {
 
 
 const getEntryFromGeneName = async (idmappingPath: string, dbPath:string, geneName:string) => {
 const getEntryFromGeneName = async (idmappingPath: string, dbPath:string, geneName:string) => {
     const sel = new RegExp('Gene_Name\t' + geneName)
     const sel = new RegExp('Gene_Name\t' + geneName)
-    let accessions = []
+    let accessions: any[] = []
     for await (const line of line$(idmappingPath)) {
     for await (const line of line$(idmappingPath)) {
         if(sel.test(line)) accessions.push(line.split('\t')[0])
         if(sel.test(line)) accessions.push(line.split('\t')[0])
     }
     }