Skip to content

Commit d58b85d

Browse files
committed
engine: to enable unit testing against of private clean_rawdata util funcs, make the private directory the current MATLAB path
1 parent 482cfa4 commit d58b85d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/eegprep/eeglabcompat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def get_eeglab(runtime: str = default_runtime, *, auto_file_roundtrip: bool = Tr
160160
engine.addpath(path2eeglab + '/plugins/iclabel')
161161
engine.addpath(path2eeglab + '/plugins/clean_rawdata')
162162
engine.addpath(path2eeglab + '/plugins/clean_rawdata2.10')
163+
engine.cd(path2eeglab + '/plugins/clean_rawdata/private') # to grant access to util funcs for unit testing
163164
#res = eeglab.version()
164165
#print('Running EEGLAB commands in compatibility mode with Octave ' + res)
165166

0 commit comments

Comments
 (0)