Closed TalLinzen closed 10 years ago
@TalLinzen absolutely correct. Weak dependencies shall only be required if available, specific versions included.
This needs a fix. Cf. mne/utils.py -- the various requires_*
functions used as decorators.
+1 yes please fix -- if you'd rather work on other things, let us know and someone else will pick it up. Shouldn't require too many new lines, though, so hopefully you don't mind.
BTW, thanks for finding issues like these -- they represent the sort of barriers that will prevent users from adopting new software.
thanks
PR very welcome. Use a try catch ImportError to assess if statsmodels is properly installed. Regarding sklearn is means the test should require a more recent version of scikit learn. Version 0.14 I suppose.
I wanted to mention this for a while - the following two tests fail on my computer. I should probably install the dependencies (I actually do have sklearn but maybe not the right version). Anyway, perhaps the test shouldn't run if the dependency doesn't exist?