Skip to content

Commit b3c1faf

Browse files
committed
fix: SyntaxWarning: invalid escape sequence '\"
1 parent 00ae8df commit b3c1faf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neuro_py/raw/preprocessing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def remove_artifacts(
4545
--------
4646
>>> fs = 20_000
4747
>>> remove_artifacts(
48-
... r"U:\data\hpc_ctx_project\HP13\HP13_day12_20241112\HP13_day12_20241112.dat",
48+
... r"U:\\data\\hpc_ctx_project\\HP13\\HP13_day12_20241112\\HP13_day12_20241112.dat",
4949
... n_channels=128,
5050
... zero_intervals=(bad_intervals.data * fs).astype(int),
5151
... channels_to_remove=[0, 1, 2] # Only remove artifacts from channels 0, 1, and 2
@@ -209,7 +209,7 @@ def fill_missing_channels(
209209
Examples
210210
--------
211211
>>> fill_missing_channels(
212-
... r"U:\data\hpc_ctx_project\HP13\HP13_day1_20241030\HP13_cheeseboard_241030_153710",
212+
... r"U:\\data\\hpc_ctx_project\\HP13\\HP13_day1_20241030\\HP13_cheeseboard_241030_153710",
213213
... 128,
214214
... 'amplifier.dat',
215215
... missing_channels = [0]

0 commit comments

Comments
 (0)