Open keinsell opened 5 months ago
Forgot to add them.
for d in dosage { let minimum_mass_string = d.min.to_string() + " mg"; let maximum_mass_string = d.max.to_string() + " mg"; let min_mass = Mass::from_str(&minimum_mass_string).unwrap(); let max_mass = Mass::from_str(&maximum_mass_string).unwrap(); if ingestion_mass >= min_mass && ingestion_mass <= max_mass { closest_dosage = Some(d); break; } }
NEU-37 CLI: Add exceptions for theresholds and exceptional values
Forgot to add them.