Skip to content

Commit

Permalink
Compiled version: Include NIRSTORM processes
Browse files Browse the repository at this point in the history
  • Loading branch information
ftadel committed Apr 16, 2021
1 parent dff0ef9 commit 3bdbed0
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 5 deletions.
Binary file modified bin/R2020a/brainstorm3.jar
Binary file not shown.
1 change: 1 addition & 0 deletions deploy/bst_deploy_java.m
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ function bst_deploy_java(IS_BIN)
disp(['WARNING: Plugin ' PlugDesc(iPlug).Name ' is not installed.']);
else
strOpt = [strOpt ' <file>' bst_fullfile(PlugInst.Path, PlugInst.SubFolder) '</file>' 10];
strOpt = [strOpt ' <file>' bst_fullfile(PlugInst.Path, 'plugin.mat') '</file>' 10];
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion doc/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<body alink="#fff000" link="#fff000" vlink="#fff000">
<h4><span style="font-family: Arial Black; color: #ffffff;"><strong>THERE IS NO UNDO BUTTON - SET UP A BACKUP OF YOUR DATABASE</strong></span></h4>
<HR>
<!-- LICENCE_START -->Version: 3.210414 (14-Apr-2021)<br>
<!-- LICENCE_START -->Version: 3.210416 (16-Apr-2021)<br>
<span style="font-style: italic;">COPYRIGHT &copy; 2000-2020
USC &amp; McGill University.<br>
</span>
Expand Down
2 changes: 1 addition & 1 deletion doc/version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
% Brainstorm
% v. 3.210414 (14-Apr-2021)
% v. 3.210416 (16-Apr-2021)
3 changes: 1 addition & 2 deletions toolbox/core/bst_figures.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
% [hFigs,iFigs,iDSs] = bst_figures('GetFigure', iDS, FigureId)
% [hFigs,iFigs,iDSs] = bst_figures('GetFigure', DataFile, FigureId)
% [hFigs,iFigs,iDSs] = bst_figures('GetFigure', hFigure)

% [hFigs] = bst_figures('GetAllFigures')
% [hFigs,iFigs,iDSs,iSurfs] = bst_figures('GetFigureWithSurface', SurfFile)
% [hFigs,iFigs,iDSs,iSurfs] = bst_figures('GetFigureWithSurface', SurfFile, DataFile, FigType, Modality)
Expand Down Expand Up @@ -54,7 +53,7 @@
% For more information type "brainstorm license" at command prompt.
% =============================================================================@
%
% Authors: Francois Tadel, 2008-2019
% Authors: Francois Tadel, 2008-2021
% Martin Cousineau, 2017

eval(macro_method);
Expand Down
1 change: 1 addition & 0 deletions toolbox/core/bst_get.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
% - bst_get('UserMexDir') : User temporary directory (<home>/.brainstorm/mex/)
% - bst_get('UserProcessDir') : User custom processes directory (<home>/.brainstorm/process/)
% - bst_get('UserDefaultsDir') : User defaults directory (<home>/.brainstorm/defaults/)
% - bst_get('UserPluginsDir') : User plugins directory (<home>/.brainstorm/plugins/)
% - bst_get('BrainstormDbFile') : User brainstorm.mat file (<home>/.brainstorm/brainstorm.mat)
% - bst_get('BrainstormDbDir') : User database directory (contains all the brainstorm protocols)
% - bst_get('DirDefaultSubject') : Directory name of the default subject
Expand Down
5 changes: 5 additions & 0 deletions toolbox/core/bst_plugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,11 @@ function Configure(PlugDesc)
% Check if the file is inside the Brainstorm user folder (where it is supposed to be) => Managed plugin
if ~isempty(strfind(TestFilePath, PlugPath))
PlugDesc(iPlug).isManaged = 1;
% Process compiled together with Brainstorm
elseif isCompiled && ~isempty(strfind(TestFilePath, ['.brainstorm' filesep 'plugins' filesep PlugName]))
compiledDir = ['.brainstorm' filesep 'plugins' filesep PlugName];
iPath = strfind(TestFilePath, compiledDir);
PlugPath = [TestFilePath(1:iPath-2), filesep, compiledDir];
% Otherwise: Custom installation
else
% If the test file was found in a defined subfolder: remove the subfolder from the plugin path
Expand Down
2 changes: 1 addition & 1 deletion toolbox/process/panel_process_select.m
Original file line number Diff line number Diff line change
Expand Up @@ -2640,7 +2640,7 @@ function ParseProcessFolder(isForced) %#ok<DEFNU>
% Get description for each file
for iFile = 1:length(bstFunc)
% Skip python support functions
if length(bstFunc{iFile} > 5) && strcmp(bstFunc{iFile}(end-4:end), '_py.m')
if (length(bstFunc{iFile}) > 5) && strcmp(bstFunc{iFile}(end-4:end), '_py.m')
continue;
end
% Split function names: regular process=only function name; plugin process=full path
Expand Down

0 comments on commit 3bdbed0

Please sign in to comment.