def set_fs_home():
    fs_home = get_fs_home()
    if fs_home is None:
        return False
    else:
        os.environ['FREESURFER_HOME'] = fs_home
        return True
Set the FREESURFER_HOME environment variable
dataset/ETHPy150Open mne-tools/mne-python/mne/gui/_file_traits.py/set_fs_home