@@ -388,6 +388,11 @@ impl FlowCells {
Ok(())
}
+
+ /// Sorts `flow_cells` in-place from oldest (`modified` smallest) to newest.
+ pub fn sort_by_modified(&mut self) {
+ self.flow_cells.sort_by_key(|fc| fc.modified);
+ }
/// Represents a fully described flowcell unit, including experimental metadata,
@@ -466,7 +466,7 @@ mod tests {
#[test]
fn run_severus() -> anyhow::Result<()> {
init();
- Severus::initialize("PONSOT", Config::default())?.run()
+ Severus::initialize("BANGA", Config::default())?.run()
// #[test]