- small cosmetic changes
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user