diff --git a/setup.py b/setup.py index 39ecd78..3064aff 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='sastadev', - version='0.2.2', + version='0.2.3', description='Linguistic functions for SASTA tool', long_description=long_description, long_description_content_type='text/markdown', diff --git a/src/sastadev/ASTApostfunctions.py b/src/sastadev/ASTApostfunctions.py index 7ea3aed..4d30fd9 100644 --- a/src/sastadev/ASTApostfunctions.py +++ b/src/sastadev/ASTApostfunctions.py @@ -138,9 +138,9 @@ def wordcountperutt(allresults): def getignorewordcount(allresults, uttid): result = 0 - if samplesizeqid in allresults.coreresults: - if uttid in allresults.coreresults[samplesizeqid]: - result = allresults.coreresults[samplesizeqid][uttid] + if samplesizereskey in allresults.coreresults: + if uttid in allresults.coreresults[samplesizereskey]: + result = allresults.coreresults[samplesizereskey][uttid] return result