Skip to content

Commit 1e55da4

Browse files
author
sprenger
committed
[openephysio] Simplify code
1 parent a05c3c3 commit 1e55da4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

neo/io/proxyobjects.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ def __init__(self, array_annotations=None, **annotations):
4545

4646
# this mock the array annotations to avoid inherits DataObject
4747
self.array_annotations = ArrayDict(self.shape[-1])
48-
if array_annotations is not None:
49-
self.array_annotations.update(array_annotations)
48+
self.array_annotations.update(array_annotations)
5049

5150
BaseNeo.__init__(self, **annotations)
5251

0 commit comments

Comments
 (0)