From 14ecff6a0ed6b17873d04915fd7802bec92801f3 Mon Sep 17 00:00:00 2001 From: James Krieger Date: Mon, 16 Oct 2023 14:13:38 +0100 Subject: [PATCH] extend parser fix to unary --- prody/atomic/select.py | 1 + 1 file changed, 1 insertion(+) diff --git a/prody/atomic/select.py b/prody/atomic/select.py index 445dc44dd..a58ad749e 100644 --- a/prody/atomic/select.py +++ b/prody/atomic/select.py @@ -1403,6 +1403,7 @@ def _and2(self, sel, loc, tokens, subset=None): elif token in UNARY: unary.append([]) append = unary[-1].append + wasdata = False if token == 'not': append((token,))