|
|
@@ -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
|