Skip to content

Commit

Permalink
SVS: handle missing magnification
Browse files Browse the repository at this point in the history
Fixes ome#4036
  • Loading branch information
melissalinkert committed Aug 11, 2023
1 parent c574360 commit 1b6da10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/formats-gpl/src/loci/formats/in/SVSReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ protected Length[] getPhysicalSizes() {
}

protected double getMagnification() {
return magnification;
return magnification == null ? Double.NaN : magnification;
}

protected ArrayList<String> getDyeNames() {
Expand Down

0 comments on commit 1b6da10

Please sign in to comment.