Skip to content

Commit

Permalink
Add special case for adjusting the position count when not grouping f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
melissalinkert committed May 11, 2014
1 parent a59e2e3 commit 41efc34
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -634,7 +634,13 @@ protected void initFile(String id) throws FormatException, IOException {
if (planes.size() != ms0.sizeT &&
(planes.size() % (seriesCount * getSizeZ())) == 0)
{
ms0.sizeT = 1;
if (!isGroupFiles() && planes.size() == (ms0.imageCount * seriesCount) / positions) {
seriesCount /= positions;
positions = 1;
}
else {
ms0.sizeT = 1;
}
}
else if (planes.size() == ms0.sizeT) {
positions = 1;
Expand Down

0 comments on commit 41efc34

Please sign in to comment.