hichamjanati / groupmne

Multi-subject MEG and EEG source localization with MNE
MIT License
9 stars 3 forks source link

Redundant get of subjects_dir in get_src_reference #8

Closed hichamjanati closed 5 years ago

hichamjanati commented 5 years ago

subjects_dir already given as argument in https://github.com/hichamjanati/groupmne/blob/2f9977115eb8f42c310991330e34bb0b2c041f95/groupmne/group_model.py#L41-L42 This leads to an error if subjects_dir is not already set in os.environ.