19-0009Cse 4 years ago
parent
commit
75a60cb87c

+ 0 - 0
.ipynb_checkpoints/__init__-checkpoint.py


+ 1 - 1
pandasToBrat/.ipynb_checkpoints/__init__-checkpoint.py

@@ -507,7 +507,7 @@ class pandasToBrat:
         if (type(annotations) == type(pd.DataFrame()) and type(relations) == type(pd.DataFrame())):
             
             # Gerenating str
-            data_annotations = _generate_annotations_str(annotations)
+            data_annotations = self._generate_annotations_str(annotations)
             data_relations = relations.groupby("id").agg(lambda x: self._generate_relations_str(x)).iloc[:,0]
 
             # Merging data

+ 1 - 1
pandasToBrat/__init__.py

@@ -507,7 +507,7 @@ class pandasToBrat:
         if (type(annotations) == type(pd.DataFrame()) and type(relations) == type(pd.DataFrame())):
             
             # Gerenating str
-            data_annotations = _generate_annotations_str(annotations)
+            data_annotations = self._generate_annotations_str(annotations)
             data_relations = relations.groupby("id").agg(lambda x: self._generate_relations_str(x)).iloc[:,0]
 
             # Merging data

BIN
pandasToBrat/__pycache__/__init__.cpython-37.pyc