We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d680de8 commit 4510caaCopy full SHA for 4510caa
httomo_backends/scripts/yaml_pipelines_generator.py
@@ -31,6 +31,13 @@
31
import httomo_backends
32
import yaml
33
34
+try:
35
+ from httomo import __version__
36
+except:
37
+ __version__ = "2.5" # backup version
38
+ pass
39
+
40
41
CS = ruamel.yaml.comments.CommentedSeq # defaults to block style
42
43
@@ -116,6 +123,8 @@ def yaml_pipelines_generator(
116
123
except OSError as e:
117
124
print("loading yaml template failed", e)
118
125
126
+ pipeline_full.yaml_set_start_comment(f"This pipeline is supported by HTTomo ver. {__version__.split('.')[0]}.{__version__.split('.')[1]}")
127
119
128
if "loaders" in module_name:
120
129
# should be the first method in the list
121
130
pipeline_full.yaml_set_comment_before_after_key(
0 commit comments