This last command fails in the subprocess with 
'''
Source space file sample-7-src.fif not found.
'''
However, the comment says the error is supposed to be related to the trans file being wrong. Should I have `sample-7-src.fif`?