Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion httomo_backends/scripts/json_pipelines_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Directory containing YAML files relative to this script
PIPELINES_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "pipelines_full")

ignored_methods = ["calculate_stats"]
ignored_methods = ["standard_tomo_diad","standard_tomo","calculate_stats"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually there is no more such thing as standard_tomo_diad loader so you can remove it. Do you still need to ignore standard_tomo ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, cause my front-end generates standard_tomo already, both standard_tomo and calculate_stats are methods that have a different pattern compared to the rest of the methods, if I don't ignore it here the final config will have a duplicated standard_tomo method

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see... well you can then do ignored_methods = ["standard_tomo","calculate_stats"]


def get_yaml_path(yaml_filename: str) -> str:
"""
Expand Down