Improved code readability
Fixed: Index counts is not equal to read counts
Merge pull request #379 from remiolsen/master

Fixed: Index counts is not equal to read counts
Merge branch 'master' of ssh://github.com/mariogiov/scilifelab
Merge branch 'upstream-master'