Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
switched green and red channel in file import
Browse files Browse the repository at this point in the history
  • Loading branch information
MPIBR-vollrathf committed Oct 14, 2016
1 parent 1e1bd1c commit acfe336
Show file tree
Hide file tree
Showing 4 changed files with 487 additions and 316 deletions.
4 changes: 2 additions & 2 deletions functions/CellSortXCorr.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function CellSortXCorr(inFolder, outFolder, nSubIm, binningFactor)
%go into folder
cd(inFolder);
cd(folders(f).name);
greenFiles = dir('ChanB_*_*.tif');
redFiles = dir('ChanA_*_*.tif');
greenFiles = dir('ChanA_*_*.tif');
redFiles = dir('ChanB_*_*.tif');
%check if fileNumber is the same
if size(greenFiles, 1) ~= size(redFiles, 1)
error(['Unequal number of files in trial folder "', folders(f).name, '"!!']);
Expand Down
Loading

0 comments on commit acfe336

Please sign in to comment.