Skip to content

Commit

Permalink
#420 fixed bug: mistakenly keeping the non changed s_ind and t_ind.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Feb 16, 2023
1 parent 64df47f commit bec9c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arekit/common/data/input/providers/rows/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def __assign_value(column, value):
row[const.ENTITY_TYPES] = ",".join([e.Type.replace(',', '') for e in entities])
row[const.ENTITIES] = ",".join(entity_inds)

row[const.S_IND] = s_ind
row[const.T_IND] = t_ind
row[const.S_IND] = actual_s_ind
row[const.T_IND] = actual_t_ind

def _provide_rows(self, parsed_news, entity_service, text_opinion_linkage, idle_mode):
assert(isinstance(idle_mode, bool))
Expand Down

0 comments on commit bec9c9e

Please sign in to comment.