Skip to content

Commit afe4c9d

Browse files
authored
Merge pull request #119 from xsuite/release/v0.5.10
Release 0.5.10
2 parents b88c6b0 + 3d6ebe1 commit afe4c9d

20 files changed

+260
-260
lines changed

make_release_branch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Copyright (c) CERN, 2024. #
55
# ######################################### #
66

7-
from xaux.tools import dev_make_release_branch
7+
from xaux.dev_tools import make_release_branch
88
# sys.tracebacklimit = 0
99

1010

11-
dev_make_release_branch("xcoll")
11+
make_release_branch("xcoll")

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "xcoll"
3-
version = "0.5.9"
3+
version = "0.5.10"
44
description = "Xsuite collimation package"
55
homepage = "https://github.com/xsuite/xcoll"
66
repository = "https://github.com/xsuite/xcoll"
@@ -26,7 +26,7 @@ ruamel-yaml = { version = "^0.17.31", optional = true }
2626
numpy = ">=1.0"
2727
pandas = ">=1.4"
2828
xobjects = ">=0.4.5"
29-
xdeps = ">=0.7.3"
29+
xdeps = ">=0.7.4"
3030
xpart = ">=0.19.1"
3131
xtrack = ">=0.69.7"
3232

release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Copyright (c) CERN, 2024. #
55
# ######################################### #
66

7-
from xaux.tools import dev_release
7+
from xaux.dev_tools import make_release
88
# sys.tracebacklimit = 0
99

1010

11-
dev_release("xcoll")
11+
make_release("xcoll")

rename_release_branch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Copyright (c) CERN, 2024. #
55
# ######################################### #
66

7-
from xaux.tools import dev_rename_release_branch
7+
from xaux.dev_tools import rename_release_branch
88
# sys.tracebacklimit = 0
99

1010

11-
dev_rename_release_branch("xcoll")
11+
rename_release_branch("xcoll")

tests/data/all_tests.list

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ tests/test_colldb.py::test_loading_no_merge
5252
tests/test_colldb.py::test_loading_crystals
5353
tests/test_colldb.py::test_loading_SixTrack
5454
tests/test_colldb.py::test_loading_SixTrack_crystals
55-
tests/test_colldb.py::test_dumping
56-
tests/test_colldb.py::test_dumping_from_Sixtrack
5755
tests/test_elements.py::test_black_absorber[ContextCpu]
5856
tests/test_elements.py::test_black_absorber[ContextCpu:auto]
5957
tests/test_elements.py::test_black_crystal[ContextCpu]

tests/data/assert_listing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ def pytest_collection_modifyitems(self, session, config, items):
3636
sys.exit("Please run data/store_all_tests.py as there are some new "
3737
+ "tests that are not logged yet:\n" + '\n'.join(only_current))
3838
if len(only_expected) > 0:
39-
sys.exit("The following tests were expected but not found:\n" + '\n'.join(only_expected))
39+
sys.exit("The following tests were expected but not found:\n" + '\n'.join(only_expected) + "Please run data/store_all_tests.py")

tests/data/colldb_lhc_run3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ collimators:
6666
tcdqa.b4r6.b1: { <<: *TCDQ }
6767
tcsp.a4r6.b1: { <<: *TCSP }
6868
tcp.d6l7.b1: { <<: *TCP7, angle: 90, material: MoGR }
69-
tcp.c6l7.b1: { <<: *TCP7, angle: 0, material: MoGR }
69+
tcp.c6l7.b1: { <<: *TCP7, angle: 0, material: MoGR, tilt: [-250e-6, 250e-6] }
7070
tcp.b6l7.b1: { <<: *TCP7, angle: 127.5 }
7171
tcsg.a6l7.b1: { <<: *TCSG7, angle: 141.1 }
7272
tcpcv.a6l7.b1: { <<: *CRY7, angle: 90, bending_radius: 85.10, width: 5.0e-3, height: 30.0e-3 }

tests/data/colldb_lhc_run3_b1.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@
252252
"tcp.c6l7.b1": {
253253
"family": "TCP7",
254254
"angle": 0,
255-
"material": "MoGR"
255+
"material": "MoGR",
256+
"tilt": [-250e-6, 250e-6]
256257
},
257258
"tcp.b6l7.b1": {
258259
"family": "TCP7",

tests/data/colldb_lhc_run3_b1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Collimators:
6262
tcdqa.b4r6.b1: { <<: *TCDQ }
6363
tcsp.a4r6.b1: { <<: *TCSP }
6464
tcp.d6l7.b1: { <<: *TCP7, angle: 90, material: MoGR }
65-
tcp.c6l7.b1: { <<: *TCP7, angle: 0, material: MoGR }
65+
tcp.c6l7.b1: { <<: *TCP7, angle: 0, material: MoGR, tilt: [-250e-6, 250e-6] }
6666
tcp.b6l7.b1: { <<: *TCP7, angle: 127.5 }
6767
tcsg.a6l7.b1: { <<: *TCSG7, angle: 141.1 }
6868
tcpcv.a6l7.b1: { <<: *CRY7, angle: 90, bending_radius: 85.10, width: 5.0e-3, height: 30.0e-3 }

tests/data/colldb_lhc_run3_b1_no_families.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tcdqa.c4r6.b1: { gap: 7.3, stage: tertiary, material: C, length: 3, a
3030
tcdqa.b4r6.b1: { gap: 7.3, stage: tertiary, material: C, length: 3, angle: 0, parking: 0.025, side: left }
3131
tcsp.a4r6.b1: { gap: 7.3, stage: SECONDARY, material: C, Length: 1, angle: 0, parking: 0.025 }
3232
TCP.D6l7.B1: { gap: 5, stage: primary, material: MoGR, length: 0.6, angle: 90, parking: 0.025 }
33-
tcp.c6l7.b1: { gap: 5, stage: primary, MATeRIAL: MoGR, length: 0.6, angle: 0, parking: 0.025 }
33+
tcp.c6l7.b1: { gap: 5, stage: primary, MATeRIAL: MoGR, length: 0.6, angle: 0, parking: 0.025, tilt: [-250e-6, 250e-6] }
3434
tcp.b6l7.b1: { gap: 5, stage: primary, material: C, length: 0.6, angle: 127.5, parking: 0.025 }
3535
tcsg.a6l7.b1: { gap: 6.5, stage: secondary, material: C, length: 1, angle: 141.1, parking: 0.025 }
3636
tcpcv.a6l7.b1: { gap: null, stage: special, material: Si, length: 0.004, angle: 90, parking: 0.025, side: left, crystal: strip, Bending_radius: 85.10, Width: 5.0e-3, height: 30.0e-3 }

0 commit comments

Comments
 (0)