Skip to content

Commit e73812e

Browse files
committed
Plugin: Ignore jnii2nii.m (JNIfTI) if embedded in JSONLab
Caused by: NeuroJSON/jsonlab@19728df
1 parent 8d559ce commit e73812e

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

doc/license.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<body alink="#fff000" link="#fff000" vlink="#fff000">
66
<h4><span style="font-family: Arial Black; color: #ffffff;"><strong>THERE IS NO UNDO BUTTON!<BR>SET UP A <FONT color=red>BACKUP</FONT> OF YOUR DATABASE</strong></span></h4>
77
<HR>
8-
<!-- LICENCE_START -->Version: 3.260528 (28-May-2026)<br>
8+
<!-- LICENCE_START -->Version: 3.260529 (29-May-2026)<br>
99
<span style="font-style: italic;">COPYRIGHT &copy; 2000-2025
1010
USC &amp; McGill University.<br>
1111
</span>

doc/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
% Brainstorm
2-
% v. 3.260528 (28-May-2026)
2+
% v. 3.260529 (29-May-2026)

toolbox/core/bst_plugin.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,6 +1593,12 @@ function Configure(PlugDesc)
15931593
if (~isempty(p) && strMatchEdge(TestFilePath, bst_fileparts(p), 'start')) || (~isempty(q) && strMatchEdge(TestFilePath, bst_fileparts(q), 'start'))
15941594
TestFilePath = [];
15951595
end
1596+
% jnifty: Ignore if found embedded in jsonlab
1597+
elseif strcmpi(PlugDesc.Name, 'jnifty')
1598+
p = which('savejson.m');
1599+
if ~isempty(p) && strMatchEdge(TestFilePath, bst_fileparts(p), 'start')
1600+
TestFilePath = [];
1601+
end
15961602
end
15971603
else
15981604
TestFilePath = [];

0 commit comments

Comments
 (0)