Skip to content

Commit ba5a1c9

Browse files
committed
Use annslist instead of anns for Pampac.run
1 parent 4b05138 commit ba5a1c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gatenlp/pam/pampac/pampac.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ def __init__(self,
239239

240240
def __call__(self, doc, **kwargs):
241241
outset = doc.annset(self.outset_name)
242-
anns = doc.anns(self.annspec, single_set=True)
242+
anns = doc.annslist(self.annspec, single_set=True)
243243
if self.containing_anns_desc is not None:
244-
cont = doc.anns(self.containing_anns_desc)
244+
cont = doc.annslist(self.containing_anns_desc)
245245
else:
246246
cont = None
247247
self.pampac.run(doc, anns, outset=outset, containing_anns=cont)

0 commit comments

Comments
 (0)