Skip to content

Commit c0f419c

Browse files
authored
Merge pull request #146 from xsuite/release/v0.6.1
Release 0.6.1
2 parents ca3c855 + afcc4ce commit c0f419c

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

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.6.0"
3+
version = "0.6.1"
44
description = "Xsuite collimation package"
55
homepage = "https://github.com/xsuite/xcoll"
66
repository = "https://github.com/xsuite/xcoll"
@@ -28,7 +28,7 @@ pandas = ">=1.4"
2828
xobjects = ">=0.5.0"
2929
xdeps = ">=0.10.5"
3030
xpart = ">=0.23.0"
31-
xtrack = ">=0.84.5"
31+
xtrack = ">=0.84.6"
3232

3333
[poetry.group.dev.dependencies]
3434
pytest = ">=7.3"

release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#
2121
# Steps:
2222
# - Version numbers are of the form major.minor.patch
23-
# - Run `make_release_branch.py` with argument major, minor, path, or a version number.
23+
# - Run `make_release_branch.py` with argument major, minor, patch, or a version number.
2424
# Alternatively, manually make a release branch named release/v<version_number>
2525
# - Make sure all changes are committed and pushed (working directory clean)
26-
# - In this branch, run `release.py` (again with argument major, minor, path, or a version number).
26+
# - In this branch, run `release.py` (again with argument major, minor, patch, or a version number).
2727
# This will make the release, push to main, push to PyPI, and create draft release notes on GitHub.
2828

2929

tests/test_jaw_position.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
import xcoll as xc
1313
import time
1414

15-
import matplotlib.pyplot as plt
16-
1715
# TODO: particle angles
1816

1917
jaws = [0.001, [0.0013, -0.002789], [-1.2e-6, -3.2e-3], [3.789e-3, 4.678e-7]]
@@ -123,6 +121,8 @@ def _plot_jaws(coll, part_init, part, hit_ids, not_hit_ids):
123121
wrong_ids = part.parent_particle_id[mask]
124122
mask_wrong_init = np.isin(part_init.particle_id, wrong_ids)
125123

124+
import matplotlib.pyplot as plt
125+
126126
mask_hit_init = np.isin(part_init.particle_id, hit_ids)
127127
mask_not_hit_init = np.isin(part_init.particle_id, not_hit_ids)
128128
plt.scatter(part_init.x[mask_not_hit_init], part_init.y[mask_not_hit_init], c='b', s=2)

tests/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
from xcoll import __version__
77

88
def test_version():
9-
assert __version__ == '0.6.0'
9+
assert __version__ == '0.6.1'

xcoll/general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
# ======================
1313
# Do not change
1414
# ======================
15-
__version__ = '0.6.0'
15+
__version__ = '0.6.1'
1616
# ======================

0 commit comments

Comments
 (0)