DiamondLightSource / DiamondLightSource/httomo

Remove unused `_get_discard_data_out()` function from YAML template generator

Open
#258 0 comments 0 reactions 0 assignees View on GitHub
enhancement minor
Dominant language
Python
Stars
10
Forks
5
Avg merge
5d 17h
Merged PRs (30d)
1

Description

Now that we no longer have the `data_out` parameter in methods, we no longer need to do anything special for the case when the image saver didn't have a `data_out` parameter. Namely, we can remove this now unused function: https://github.com/DiamondLightSource/httomo/blob/878c74c32dad626b46a52f1b4a8505747f5fd978/templates/yaml_templates_generator.py#L163-L169

and remove its single (unused) usage in the YAML generator function: https://github.com/DiamondLightSource/httomo/blob/878c74c32dad626b46a52f1b4a8505747f5fd978/templates/yaml_templates_generator.py#L48

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.