Skip to content

Commit

Permalink
Merge pull request #134 from henrypinkard/main
Browse files Browse the repository at this point in the history
fix reading bug arising in MMStudio
  • Loading branch information
henrypinkard committed Sep 7, 2023
2 parents b27dfdb + e813858 commit e6537ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.micro-manager.ndtiffstorage</groupId>
<artifactId>NDTiffStorage</artifactId>
<version>2.15.1</version>
<version>2.15.2</version>
<packaging>jar</packaging>
<name>NDTiff Storage file format</name>
<description>Java-based writer and reader used for NDTiffStorage format</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -997,8 +997,8 @@ public boolean hasImage(HashMap<String, Object> axes) {
@Override
public TaggedImage getImage(HashMap<String, Object> axes, int dsIndex) {
//return a single tile from the full res image
if (fullResStorage_ == null || lowResStorages_ == null ||
(!lowResStorages_.containsKey(dsIndex) && dsIndex != 0) ){
if (fullResStorage_ == null || (tiled_ && lowResStorages_ == null) ||
(tiled_ && !lowResStorages_.containsKey(dsIndex) && dsIndex != 0) ){
return null;
}
if (dsIndex == 0) {
Expand Down

0 comments on commit e6537ce

Please sign in to comment.