瀏覽代碼

Flowcells cross

Thomas 8 月之前
父節點
當前提交
ab8cddcaa4
共有 1 個文件被更改,包括 2 次插入2 次删除
  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