Thomas 3 vuotta sitten
vanhempi
commit
efa21af80d
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      index.js
  2. 1 1
      index.ts

+ 1 - 1
index.js

@@ -215,7 +215,7 @@ const getInteractionsFromEntry = (json) => __awaiter(void 0, void 0, void 0, fun
         };
     })
         .filter((e) => !blaskList.includes(e.to) && e.to !== geneName);
-    yield fs_1.default.promises.writeFile('test/tmp.json', JSON.stringify(results.map((e) => e.to), null, 4));
+    // await fs.promises.writeFile('test/tmp.json', JSON.stringify(results.map((e:any)=>e.to), null,4))
     return results;
 });
 exports.getInteractionsFromEntry = getInteractionsFromEntry;

+ 1 - 1
index.ts

@@ -178,7 +178,7 @@ const getInteractionsFromEntry = async (json:any) => {
     })
     .filter((e:any) => !blaskList.includes(e.to) && e.to !== geneName)
 
-    await fs.promises.writeFile('test/tmp.json', JSON.stringify(results.map((e:any)=>e.to), null,4))
+    // await fs.promises.writeFile('test/tmp.json', JSON.stringify(results.map((e:any)=>e.to), null,4))
     
     return results
 }