Skip to content

Commit 49afcb0

Browse files
committed
Fix to running virtac. Also commented out the old test CI as I think this functionality is now being done by copier
1 parent 5695176 commit 49afcb0

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/atip/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"""Atip entrypoint. This file currently does not do anything interesting, as atip is a library
2-
and not really designed to be a runnable application."""
1+
"""Atip entrypoint. This file currently does not do anything interesting, as atip is a
2+
library and not really designed to be a runnable application."""
33

44
from argparse import ArgumentParser
55
from collections.abc import Sequence

src/virtac/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
Version number as calculated by https://github.com/pypa/setuptools_scm
88
"""
99

10+
from atip._version import __version__
11+
1012
from . import __main__, atip_server, create_csv, masks, mirror_objects
11-
from ._version import __version__
1213

1314
__all__ = [
1415
"__version__",

src/virtac/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from softioc import builder, softioc
1414
from . import atip_server
15-
from ._version import __version__
15+
from atip._version import __version__
1616

1717
__all__ = ["main"]
1818

src/virtac/create_csv.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ def generate_tune_pvs(lattice):
235235
for pv in tune_pvs:
236236
offset_pvs.append(":".join([pv.split(":")[0], "OFFSET1"]))
237237
delta_pvs.append(f"SR-CS-TFB-01:{pv[2:4]}{pv[9:12]}{pv[13:15]}:I")
238-
for tune_pv, offset_pv, delta_pv in zip(tune_pvs, offset_pvs, delta_pvs, strict=False):
238+
for tune_pv, offset_pv, delta_pv in zip(
239+
tune_pvs, offset_pvs, delta_pvs, strict=False
240+
):
239241
data.append((tune_pv, offset_pv, delta_pv))
240242
return data
241243

0 commit comments

Comments
 (0)