Skip to content

Commit

Permalink
Update bids_export.m
Browse files Browse the repository at this point in the history
  • Loading branch information
cll008 authored Nov 4, 2021
1 parent 98eb293 commit 855440b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids_export.m
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ function bids_export(files, varargin)
% ---------------------------
if ~isempty(opt.README)
if exist(opt.README) ~= 2
fid = fopen(fullfile(opt.targetdir, 'README.txt'), 'w');
fid = fopen(fullfile(opt.targetdir, 'README'), 'w');
if fid == -1, error('Cannot write README file'); end
fprintf(fid, '%s', opt.README);
fclose(fid);
Expand Down

0 comments on commit 855440b

Please sign in to comment.