Skip to content

Commit

Permalink
Merge pull request #326 from OpenChemistry/pyreader
Browse files Browse the repository at this point in the history
Fix frames per block
  • Loading branch information
cjh1 authored Oct 3, 2024
2 parents 0188853 + 3203c8e commit 3cfabf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ PyBlock PyReader::read()
imageNumberForBlock.push_back(m_imageNumbers[i]);
}

b.header = Header(frameDimensions, m_imageNumInBlock, m_scanDimensions,
b.header = Header(frameDimensions, imageNumberForBlock.size(), m_scanDimensions,
imageNumberForBlock);
b.header.version = 3;

Expand Down

0 comments on commit 3cfabf3

Please sign in to comment.