Skip to content

Commit

Permalink
Bug fix: Import to database: SSP already applied were not saved in th…
Browse files Browse the repository at this point in the history
…e channel file
  • Loading branch information
ftadel committed May 24, 2017
1 parent 3561e2e commit ddf90d9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/license.html
Expand Up @@ -3,7 +3,7 @@

</head>
<body alink="#fff000" link="#fff000" vlink="#fff000">
<!-- LICENCE_START -->Version: 3.4 (22-May-2017)<br>
<!-- LICENCE_START -->Version: 3.4 (24-May-2017)<br>
<span style="font-style: italic;">COPYRIGHT &copy; 2000-2017
USC &amp; McGill University.<br>
</span>
Expand Down
1 change: 1 addition & 0 deletions doc/updates.txt
@@ -1,6 +1,7 @@
---------------------------------------------------------------
May 2017
- Bug fix: Some Neuroscan .cnt files with low accuracy (int16) were not read correctly
- Bug fix: Import to database: SSP already applied were not saved in the channel file
- IO: Support for Nicolet .e files
- IO: Support for ANT ASA .msm/.msr files
- IO: Support for CED Spike2 .smr
Expand Down
2 changes: 1 addition & 1 deletion doc/version.txt
@@ -1,2 +1,2 @@
% Brainstorm
% v. 3.4 170522 (22-May-2017)
% v. 3.4 170524 (24-May-2017)
4 changes: 3 additions & 1 deletion toolbox/io/in_data.m
Expand Up @@ -261,7 +261,9 @@
end
% No SSP
if ~ImportOptions.UseSsp && ~isempty(ChannelMat)
ChannelMat.Projector = [];
% Remove projectors that are not already applied
iProjDel = find([ChannelMat.Projector.Status] ~= 2);
ChannelMat.Projector(iProjDel) = [];
end

% ===== READING AND SAVING =====
Expand Down

0 comments on commit ddf90d9

Please sign in to comment.