Skip to content

Commit

Permalink
add missing file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Feb 24, 2023
1 parent 408cc2e commit d4e77e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion savejd.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
if(~exist('filename','var'))
filename='.json';
end
if(regexpi(filename,'\.json$|\.jnii$|\.jdt$|\.jdat$|\.jmsh$|\.jnirs$'))
if(regexpi(filename,'\.json$|\.jnii$|\.jdt$|\.jdat$|\.jmsh$|\.jnirs$|\.jbids$'))
[varargout{1:nargout}]=savejson(varargin{:});
elseif(regexpi(filename,'\.bjd$|\.bnii$|\.jdb$|\.jbat$|\.bmsh$|\.bnirs$'))
[varargout{1:nargout}]=savebj(varargin{:});
Expand Down

0 comments on commit d4e77e1

Please sign in to comment.