Thomas 3 жил өмнө
parent
commit
11ca58ea4c
2 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 2 2
      index.js
  2. 1 1
      index.ts

+ 2 - 2
index.js

@@ -140,7 +140,7 @@ const getInteractionsFromEntry = (json) => __awaiter(void 0, void 0, void 0, fun
     var _k, _l, _m, _o, _p, _q, _r, _s;
     const blaskList = ['DNA', 'PHOSPHOSERINE', 'MOTIFS', 'INFECTION', 'PROTEIN', 'PROTEINS', 'GAMMA-SECRETASE', 'CALCIUM',
         'MICROBIAL', 'VIRUS', 'HEPATITIS', 'HERPES', 'SIMPLEX', 'RELATED', 'AND', 'CLATHRIN', 'WORTMANNIN',
-        'NUCLEOSOME', 'undefined'];
+        'NUCLEOSOME', 'undefined', 'INTEGRINS', 'UBIQUITIN', 'MAGNESIUM'];
     const uniprotIDs = Array.isArray(json.entry.accession) ? json.entry.accession : [json.entry.accession];
     // geneName
     const gnTT = Array.isArray(json.entry.gene) ? json.entry.gene[0] : json.entry.gene;
@@ -209,7 +209,7 @@ const getInteractionsFromEntry = (json) => __awaiter(void 0, void 0, void 0, fun
         type: 'reference_scope',
         to: ee,
         scope: e.scope,
-        //citation: e.citation
+        citation: e.citation
     })));
     // Group
     const byTo = {};

+ 1 - 1
index.ts

@@ -91,7 +91,7 @@ const getInteractionsFromEntry = async (json:any) => {
     const blaskList = 
     ['DNA', 'PHOSPHOSERINE', 'MOTIFS', 'INFECTION', 'PROTEIN', 'PROTEINS', 'GAMMA-SECRETASE', 'CALCIUM',
     'MICROBIAL', 'VIRUS', 'HEPATITIS', 'HERPES', 'SIMPLEX', 'RELATED', 'AND', 'CLATHRIN', 'WORTMANNIN',
-    'NUCLEOSOME', 'undefined']
+    'NUCLEOSOME', 'undefined', 'INTEGRINS', 'UBIQUITIN', 'MAGNESIUM']
     
     const uniprotIDs = Array.isArray(json.entry.accession) ? json.entry.accession : [json.entry.accession]