Browse Source

Flowcells cross

Thomas 8 months ago
parent
commit
ab8cddcaa4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/collection/flowcells.rs

+ 2 - 2
src/collection/flowcells.rs

@@ -224,13 +224,13 @@ impl FlowCells {
         let inputs = IdsInput::load_json(inputs_path)
             .with_context(|| format!("Failed to load IdsInput from: {inputs_path}"))?;
 
-        self.cross_cases(inputs)
+        self.cross_cases(&inputs)
             .with_context(|| format!("Failed to cross with IdsInput from: {inputs_path}"))?;
 
         Ok(())
     }
 
-    pub fn cross_cases(&mut self, inputs: IdsInput) -> anyhow::Result<()> {
+    pub fn cross_cases(&mut self, inputs: &IdsInput) -> anyhow::Result<()> {
         for fc in &mut self.flow_cells {
             fc.cases = inputs
                 .data