Skip to content

Commit 98043df

Browse files
Merge pull request #718 from DiamondLightSource/use-pipeline-in-output-dir
Use copied pipeline file for pipeline input
2 parents 1b5b768 + 48aa202 commit 98043df

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎httomo/cli.py‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,15 @@ def run(
274274
PipelineFormat.Json if pipeline_format == "Json" else PipelineFormat.Yaml
275275
)
276276
pipeline_object = generate_pipeline(
277-
in_data_file, pipeline, save_all, method_wrapper_comm, format_enum
277+
in_data_file,
278+
(
279+
httomo.globals.run_out_dir / pipeline.name
280+
if format_enum == PipelineFormat.Yaml
281+
else pipeline
282+
),
283+
save_all,
284+
method_wrapper_comm,
285+
format_enum,
278286
)
279287

280288
if not does_contain_sweep:

0 commit comments

Comments
 (0)