Skip to content

Commit 8a7658b

Browse files
architsinghal-mriirsarchit singhal
andauthored
Removed unused import and updated the path. (#10894)
* Updated path handling in examples/preprocessing/otp.py * Removed unused import 'op' * Remove Paranthesis Co-authored-by: archit singhal <zyphergiest@pop-os.localdomain>
1 parent 3c23f13 commit 8a7658b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/preprocessing/otp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
# %%
1717

18-
import os.path as op
1918
import mne
2019
import numpy as np
2120

@@ -34,8 +33,7 @@
3433

3534
dipole_number = 1
3635
data_path = bst_phantom_elekta.data_path()
37-
raw = read_raw_fif(
38-
op.join(data_path, 'kojak_all_200nAm_pp_no_chpi_no_ms_raw.fif'))
36+
raw = read_raw_fif(data_path / 'kojak_all_200nAm_pp_no_chpi_no_ms_raw.fif')
3937
raw.crop(40., 50.).load_data()
4038
order = list(range(160, 170))
4139
raw.copy().filter(0., 40.).plot(order=order, n_channels=10)

0 commit comments

Comments
 (0)