Skip to content

Commit

Permalink
Merge pull request #114 from CCC-members/develop
Browse files Browse the repository at this point in the history
Update qc_headmodel.m
  • Loading branch information
arioskyag authored Dec 1, 2023
2 parents 225317f + 85ef3ed commit 1e119c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/processes/utilities/qc_headmodel.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function qc_headmodel(headmodel_options,properties, subID)
%%
ProtocolInfo = bst_get('ProtocolInfo');
sSubject = bst_get('Subject', subID);
if(isequal(properties.channel_params.channel_type.type,1))
if(isequal(lower(properties.channel_params.channel_type.id),'raw'))
sStudy = bst_get('StudyWithSubject', sSubject.FileName);else
sStudy = bst_get('StudyWithSubject', sSubject.FileName, 'intra_subject');
end
Expand Down

0 comments on commit 1e119c4

Please sign in to comment.