We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc7dbc2 + 596f4e3 commit 530e28bCopy full SHA for 530e28b
src/main/java/com/glencoesoftware/bioformats2raw/Converter.java
@@ -2681,7 +2681,13 @@ private Quantity getScale(
2681
case 'z':
2682
return meta.getPixelsPhysicalSizeZ(seriesIndex);
2683
case 't':
2684
- return meta.getPixelsTimeIncrement(seriesIndex);
+ Quantity timeIncrement = meta.getPixelsTimeIncrement(seriesIndex);
2685
+ if (timeIncrement != null && timeIncrement.value().doubleValue() > 0) {
2686
+ return timeIncrement;
2687
+ }
2688
+ else {
2689
+ return null;
2690
2691
default:
2692
return null;
2693
}
0 commit comments