Skip to content

Commit dd8b7f0

Browse files
committed
improve message
1 parent 13a0fb1 commit dd8b7f0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

neo/rawio/spikeglxrawio.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ class SpikeGLXRawIO(BaseRawWithBufferApiIO):
7777
dirname: str, default: ''
7878
The spikeglx folder containing meta/bin files
7979
load_sync_channel: bool, default: False
80-
The last channel (SY0) of each stream is a fake channel used for synchronisation
80+
Can be used to load the synch stream as the last channel of the neural data.
81+
From versions higher than 0.14.1 the sync channel is always loaded as a separate stream.
82+
This option is deprecated and will be removed in version 0.15.
8183
load_channel_location: bool, default: False
8284
If True probeinterface is used to load the channel locations from the directory
8385
@@ -112,8 +114,8 @@ def __init__(self, dirname="", load_sync_channel=False, load_channel_location=Fa
112114
self.load_sync_channel = load_sync_channel
113115
if load_sync_channel:
114116
warn(
115-
"The load_sync_channel=True option is deprecated and will be removed in version 0.15. "
116-
"Use load_sync_channel=False instead, which will add sync channels as separate streams.",
117+
"The load_sync_channel=True option is deprecated and will be removed in version 0.15 \n"
118+
"The sync channel is now loaded as a separate stream by default and should be accessed as such. "
117119
DeprecationWarning, stacklevel=2
118120
)
119121
self.load_channel_location = load_channel_location

0 commit comments

Comments
 (0)