- small cosmetic changes

This commit is contained in:
w.pomp
2026-07-22 13:40:27 +02:00
parent 0d347b7967
commit a5ec4125f9
5 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -795,7 +795,7 @@ impl Reader for CziReader {
.get_child("Wavelength")
.and_then(|w| w.get_text())
.and_then(|t| t.parse().ok())
.and_then(|w| if w > 0.0 { Some(w) } else { None }),
.filter(|&w| w > 0.0),
wavelength_unit: ome::UnitsLength::nm,
})
} else if let Version::Other = version {
@@ -876,7 +876,7 @@ impl Reader for CziReader {
.get_child("EmissionWaveLength")
.and_then(|e| e.get_text())
.and_then(|t| t.parse().ok())
.and_then(|w| if w > 0.0 { Some(w) } else { None }),
.filter(|&w| w > 0.0),
emission_wavelength_unit: ome::UnitsLength::nm,
excitation_wavelength: light_source_settings
.as_ref()