Skip to content

Commit

Permalink
Merge pull request #135 from CCC-members/develop
Browse files Browse the repository at this point in the history
Updating visual interface
  • Loading branch information
arioskyag authored Jan 30, 2024
2 parents 7917212 + 9db5b69 commit dcefa5a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions functions/cfs_process_interface.m
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@
h.save
h.close

%% Delete Protocol after analysis
db_delete_protocol(isUserConfirm, isRemoveFiles)
gui_brainstorm('DeleteProtocol', ProtocolName);

disp(strcat('CFS -->> Dataset processed....'));
disp('==============================================================================');
disp('==============================================================================');
Expand Down
8 changes: 4 additions & 4 deletions functions/starting_brainstorm.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
%%
%% Checking templates
%%
if(isequal(lower(properties.anatomy_params.anatomy_type.id),'template'))
anatomy_type = properties.anatomy_params.anatomy_type;
if(isequal(lower(properties.anatomy_params.anatomy_type.type),'template'))
anatomy_type = properties.anatomy_params.anatomy_type.type_list{1};
sTemplates = bst_get('AnatomyDefaults');
Name = anatomy_type.template_name;
sTemplate = sTemplates(find(strcmpi(Name, {sTemplates.Name}),1));
Expand All @@ -79,10 +79,10 @@
return;
end
end
if(isequal(lower(properties.channel_params.channel_type.id),'default'))
if(isequal(lower(properties.channel_params.channel_type.type),'default'))
% ===== GET DEFAULT =====
% Get registered Brainstorm EEG defaults
channel_params = properties.channel_params.channel_type;
channel_params = properties.channel_params.channel_type.type_list{2};
bstDefaults = bst_get('EegDefaults');
nameGroup = channel_params.group_layout_name;
nameLayout = channel_params.channel_layout_name;
Expand Down
Binary file modified guide/CiftiStorm.mlapp
Binary file not shown.

0 comments on commit dcefa5a

Please sign in to comment.