Skip to content

Commit 33145da

Browse files
committed
Fix warning about max number of nodes in export conversion
1 parent 5aa14cc commit 33145da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semstr/conversion/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self):
2121
def __call__(self):
2222
self._id += 1
2323
assert self._id <= ExportConverter.MAX_TERMINAL_ID, \
24-
"More than %d nodes found" % ExportConverter.MAX_TERMINAL_ID
24+
"More than %d nodes found" % (ExportConverter.MAX_TERMINAL_ID - ExportConverter.MIN_TERMINAL_ID + 1)
2525
return str(self._id)
2626

2727
def __init__(self):

0 commit comments

Comments
 (0)