Resolves issue #54: output sentences of the Actors widget were presented in the wrong order
Description of changes
We (TV + ET) fixed two problems:
story id and sentence_id columns in story_elements_df were strings before sorting on line 217 in file actoranalysis.py which caused unexpected orderings. The format was changed to integer
only one of sentences with identical text were kept on line 218 in file actoranalysis.py . This was fixed by considering storyid and sentence_id as well when checking for duplicates
Issue
Resolves issue #54: output sentences of the Actors widget were presented in the wrong order
Description of changes
We (TV + ET) fixed two problems:
story id
andsentence_id
columns instory_elements_df
were strings before sorting on line 217 in file actoranalysis.py which caused unexpected orderings. The format was changed to integerstoryid
andsentence_id
as well when checking for duplicatesIncludes