Aziz Ketari преди 4 години
родител
ревизия
e75cfaad22
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      scripts/storing.py
  2. 0 0
      scripts/utils/UMLS_tuis.csv

+ 1 - 1
scripts/storing.py

@@ -101,7 +101,7 @@ for blob in lst_curated_blobs:
     entities = list(UMLS_tuis_entity.keys())
     TUIs = list(UMLS_tuis_entity.values())
     df_entities = pd.DataFrame(data={'entity': entities, 'TUIs': TUIs})
-    df_reference_TUIs = pd.read_csv('~/data/UMLS_tuis.csv')
+    df_reference_TUIs = pd.read_csv('./utils/UMLS_tuis.csv')
     df_annotated_text_entities = pd.merge(df_entities, df_reference_TUIs, how='inner', on=['TUIs'])
 
     # Upload entities to datastore

+ 0 - 0
content/UMLS_tuis.csv → scripts/utils/UMLS_tuis.csv