Skip to content

Commit

Permalink
Merge pull request #28 from schoffelen/fiff_read_meas_info
Browse files Browse the repository at this point in the history
FIX - corrected logic to avoid overwriting device to head transform
  • Loading branch information
agramfort authored Nov 30, 2023
2 parents a750b46 + 0d81513 commit 81c2ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/fiff_read_meas_info.m
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
end


if isempty(dev_head_t) || isempty(ctf_head_t)
if isempty(dev_head_t) && isempty(ctf_head_t)
hpi_result = fiff_dir_tree_find(meas_info,FIFF.FIFFB_HPI_RESULT);
if length(hpi_result) == 1
for k = 1:hpi_result.nent
Expand Down

0 comments on commit 81c2ce5

Please sign in to comment.