@ Dan: We were trying to move away from the command line version for a
number of reasons. As far as I know, there is no -skip option in the python
implementation.
@ Eric: We are using the Anaconda distribution, and I was not able to
reproduce the error from the thread you linked. When we are getting an
error, it looks like this:
RuntimeWarning: invalid value encountered in greater
num = np.sum(s > tol, dtype=int)
Traceback (most recent call last):
File "motion_correction.py", line 32, in <module>
raw = maxwell_filter(raw, st_duration=st_duration,
destination=trans.mean(axis=0), bad_condition='warning')
File "<string>", line 2, in maxwell_filter
File "/homes/5/szoro/.local/lib/python2.7/site-packages/mne/utils.py",
line 551, in verbose
return function(*args, **kwargs)
File
"/homes/5/szoro/.local/lib/python2.7/site-packages/mne/preprocessing/maxwell.py",
line 404, in maxwell_filter
t_proj = _overlap_projector(orig_in_data, resid, st_correlation)
File
"/homes/5/szoro/.local/lib/python2.7/site-packages/mne/preprocessing/maxwell.py",
line 1237, in _overlap_projector
overwrite_a=True, mode='economic', **check_disable)[0].T
File
"/homes/5/szoro/.local/lib/python2.7/site-packages/scipy/linalg/decomp_qr.py",
line 142, in qr
overwrite_a=overwrite_a)
File
"/homes/5/szoro/.local/lib/python2.7/site-packages/scipy/linalg/decomp_qr.py",
line 20, in safecall
ret = f(*args, **kwargs)
ValueError: failed to create intent(cache|hide)|optional array-- must have
defined dimensions but got (0,)
Unfortunately I can't quite parse what's going on here in the error
message.