diff --git a/neo/rawio/axonrawio.py b/neo/rawio/axonrawio.py index 11265dc16..d862c6a4b 100644 --- a/neo/rawio/axonrawio.py +++ b/neo/rawio/axonrawio.py @@ -85,7 +85,7 @@ def _parse_header(self): elif version >= 2.: mode = info['protocol']['nOperationMode'] - assert mode in [1, 2, 3, 5], 'Mode {} is not supported'.formagt(mode) + assert mode in [1, 2, 3, 5], 'Mode {} is not supported'.format(mode) # event-driven variable-length mode (mode 1) # event-driven fixed-length mode (mode 2 or 5) # gap free mode (mode 3) can be in several episodes