Skip to content

Commit 8daba61

Browse files
committed
adding excepton for httomo version import
1 parent 2052e57 commit 8daba61

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

httomo_backends/scripts/yaml_pipelines_generator.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@
3131
import httomo_backends
3232
import yaml
3333

34-
from httomo import __version__ as httomo_version
34+
try:
35+
from httomo import __version__ as httomo_version
36+
except:
37+
httomo_version = "2.5" # temporary version fix for sphinx build
38+
pass
3539

3640
CS = ruamel.yaml.comments.CommentedSeq # defaults to block style
3741

38-
3942
class SweepRange:
4043
"""SweepRange class."""
4144

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dev_template = "{tag}"
2424

2525
[project]
2626
name = "httomo-backends"
27-
version = "0.6.1"
27+
version = "0.6.2"
2828
description = "Supplementary files for HTTomo backends."
2929
readme = "README.rst"
3030
license = {text = "BSD-3-Clause"}

0 commit comments

Comments
 (0)