diff --git a/setup.py b/setup.py index 9dd0c30..a37f8c4 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='sastadev', - version='0.1.4', + version='0.1.5', description='Linguistic functions for SASTA tool', long_description=long_description, long_description_content_type='text/markdown', diff --git a/src/sastadev/xenx.py b/src/sastadev/xenx.py index c014ed5..dda06bd 100644 --- a/src/sastadev/xenx.py +++ b/src/sastadev/xenx.py @@ -55,6 +55,6 @@ def xenx(tree: SynTree) -> List[SynTree]: include = include and (childptcat == firstptcat) and childptcat not in clausecats #print('include=', include) #print('final: include=', include) - if include: + if include and crdresult is not None: results.append(crdresult) return results