Skip to content

Commit 97cb693

Browse files
committed
Fix warning
1 parent 1d84c9f commit 97cb693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/biocamrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, filename="", true_zeroes=False, use_synthetic_noise=False):
5656

5757
if self.use_synthetic_noise:
5858
warnings.warn("Event-based compression : gaps will be filled with synthetic noise."
59-
"Traces won't be raw.")
59+
" Set use_synthetic_noise to False for raw traces.")
6060

6161
def _source_name(self):
6262
return self.filename
@@ -264,7 +264,7 @@ def readHDF5t_101_i(rf, t0, t1, nch):
264264

265265
def readHDF5t_brw4(rf, t0, t1, nch):
266266
for key in rf:
267-
if key[:5] == "Well_":
267+
if key.startswith("Well_"):
268268
return rf[key]["Raw"][nch * t0 : nch * t1].reshape((t1 - t0, nch), order="C")
269269

270270

0 commit comments

Comments
 (0)