Skip to content

Commit a3c549d

Browse files
committed
oops
1 parent ff9cf82 commit a3c549d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/core/spiketrain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from neo.core.baseneo import BaseNeo, MergeError, merge_annotations
2626
from neo.core.dataobject import DataObject, ArrayDict
2727
# need this to avoid circular import issue
28-
import neo.io
28+
import neo
2929

3030

3131
def check_has_dimensions_time(*values) -> None:
@@ -818,7 +818,7 @@ def merge(self, *others):
818818
compatible, an Exception is raised.
819819
"""
820820
for other in others:
821-
if isinstance(other, neo.io.SpikeTrainProxy):
821+
if isinstance(other, neo.io.proxyobjects.SpikeTrainProxy):
822822
raise MergeError(
823823
"Cannot merge, SpikeTrainProxy objects cannot be merged"
824824
"into regular SpikeTrain objects, please load them first."

0 commit comments

Comments
 (0)