xcoll 0.6.7__py3-none-any.whl → 0.6.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of xcoll might be problematic. Click here for more details.

xcoll/general.py CHANGED
@@ -12,5 +12,5 @@ citation = "F.F. Van der Veken, et al.: Recent Developments with the New Tools f
12
12
  # ======================
13
13
  # Do not change
14
14
  # ======================
15
- __version__ = '0.6.7'
15
+ __version__ = '0.6.8'
16
16
  # ======================
xcoll/lossmap.py CHANGED
@@ -254,7 +254,8 @@ class LossMap:
254
254
  prev_elem = len(line.element_names) - 1
255
255
  else:
256
256
  prev_elem = elem - 1
257
- if line.element_names[prev_elem] in coll_elements:
257
+ if line.element_names[prev_elem] in coll_elements \
258
+ and line[prev_elem].active:
258
259
  if verbose:
259
260
  print(f"Found at {line.element_names[elem]}, "
260
261
  + f"moved to {line.element_names[elem-1]}")
@@ -1,10 +1,8 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.3
2
2
  Name: xcoll
3
- Version: 0.6.7
3
+ Version: 0.6.8
4
4
  Summary: Xsuite collimation package
5
5
  License: Apache-2.0
6
- License-File: LICENSE
7
- License-File: NOTICE
8
6
  Author: Frederik F. Van der Veken
9
7
  Author-email: frederik@cern.ch
10
8
  Requires-Python: >=3.10
@@ -14,7 +12,6 @@ Classifier: Programming Language :: Python :: 3.10
14
12
  Classifier: Programming Language :: Python :: 3.11
15
13
  Classifier: Programming Language :: Python :: 3.12
16
14
  Classifier: Programming Language :: Python :: 3.13
17
- Classifier: Programming Language :: Python :: 3.14
18
15
  Provides-Extra: tests
19
16
  Requires-Dist: numpy (>=1.0)
20
17
  Requires-Dist: pandas (>=1.4)
@@ -22,10 +19,10 @@ Requires-Dist: pytest ; extra == "tests"
22
19
  Requires-Dist: pytest-html ; extra == "tests"
23
20
  Requires-Dist: pytest-xdist ; extra == "tests"
24
21
  Requires-Dist: ruamel-yaml (>=0.17.31,<0.18.15)
25
- Requires-Dist: xdeps (>=0.10.6)
22
+ Requires-Dist: xdeps (>=0.10.7)
26
23
  Requires-Dist: xobjects (>=0.5.3)
27
24
  Requires-Dist: xpart (>=0.23.1)
28
- Requires-Dist: xtrack (>=0.93.0)
25
+ Requires-Dist: xtrack (>=0.93.2)
29
26
  Project-URL: Bug Tracker, https://github.com/xsuite/xsuite/issues
30
27
  Project-URL: Documentation, https://xsuite.readthedocs.io/
31
28
  Project-URL: Homepage, https://github.com/xsuite/xcoll
@@ -16,7 +16,7 @@ xcoll/beam_elements/everest.py,sha256=iJva_S0OQnmG-qj7rIAiUCssu5WL_Qs5P_n6Qx-IWz
16
16
  xcoll/beam_elements/monitor.py,sha256=baMYT_PNya8KX35ReeMwk5Cm04ePUqiDF_s69L5GTX0,16968
17
17
  xcoll/beam_elements/transparent.py,sha256=AZOWfH3dvsetL6DjQGejUgX7T18e_3omIIffG_1gwc0,2894
18
18
  xcoll/colldb.py,sha256=4QwvWH-KYTa6xyaVS7Y8S473T6RHXOER8B2xZjeNahI,31213
19
- xcoll/general.py,sha256=NYF0rBViyMS_GaNBuPF8_Me6rLrMZBwn6npYxpLSLG0,534
19
+ xcoll/general.py,sha256=GNj4NRQunkW8IlcM2w6l5kqCSHn5yGE3RhKPbKdAZEs,534
20
20
  xcoll/headers/checks.h,sha256=qdXsOTBOK1MwW6bdFF93j4yE648mcDtEv5rGN1w9sfk,1582
21
21
  xcoll/headers/particle_states.py,sha256=N8ehLtg99358I4RGCJ3sjuKCk2LVdGqgVx2xGoHrRdM,1959
22
22
  xcoll/initial_distribution.py,sha256=CHhqeCVjVOyaBWhfy2sDgLwIgtXZoqcTW-su-M2YByE,10989
@@ -25,7 +25,7 @@ xcoll/interaction_record/interaction_record.py,sha256=cCjfVCYUJaV0Y-pCljA2_u8GLy
25
25
  xcoll/interaction_record/interaction_record_src/interaction_record.h,sha256=0rNagnfSGc2i1jauOMIcDbj9QFic9dV_MOyqVx1kw5Q,6067
26
26
  xcoll/interaction_record/interaction_types.py,sha256=XTeg2dcImMpqhTqzkJKh6JYam2v9gUMhED-dDKLsilk,2894
27
27
  xcoll/line_tools.py,sha256=JBySkKKZ-RGumqAZF_8PSQ3OV0M87P78NeQgbXAdFc4,16699
28
- xcoll/lossmap.py,sha256=HLdhej9tUjk36T5BulVWurJtfiNa61L_1X7-8kT6JoQ,28407
28
+ xcoll/lossmap.py,sha256=f2kMb0Md-F9rD7Ef0jQRAIjHArk6W0gE8v1koRL_T-U,28452
29
29
  xcoll/plot.py,sha256=27fYdXstPg3o8XyeBlPuD2yz0GR3dKkNWy4kO2BD9WA,4071
30
30
  xcoll/prebuilt_kernel_definitions/__init__.py,sha256=Dju9g0ME0F8FpFUZREyiEcd8rVyQqIro8_8LKqegTtk,291
31
31
  xcoll/prebuilt_kernel_definitions/element_inits.py,sha256=9Qm34JXN7F08inWzXP6g6DU57ypRbyqHYwPK9Oc9BC4,219
@@ -57,9 +57,9 @@ xcoll/scattering_routines/geometry/rotation.h,sha256=lO3RaQBys9r0ROMjR8T8Rr7UsIE
57
57
  xcoll/scattering_routines/geometry/segments.h,sha256=7nKnnin2ByxkKyaYwGvFaqgLQg5uBba4CdLHL7L3iQs,7667
58
58
  xcoll/scattering_routines/geometry/sort.h,sha256=b1MkFO2ddzv1fWGeQzsLuz46qo2pKyRSXHjoAEVU7Ts,5763
59
59
  xcoll/xaux.py,sha256=mh4E_jhaUFm2LOKawJ0b6X4zuz8JiJhx6w7GcnRgIXQ,2291
60
- xcoll-0.6.7.dist-info/METADATA,sha256=-8wXPMjf3s99eSTuM08jv9pYu1rkts0MRDrmgneUTRc,3047
61
- xcoll-0.6.7.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
62
- xcoll-0.6.7.dist-info/entry_points.txt,sha256=fC9oojAU6WjKujnGBodo7ZcEeBGfSfeLPO5287echdY,26
63
- xcoll-0.6.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
64
- xcoll-0.6.7.dist-info/licenses/NOTICE,sha256=6DO_E7WCdRKc42vUoVVBPGttvQi4mRt9fAcxj9u8zy8,74
65
- xcoll-0.6.7.dist-info/RECORD,,
60
+ xcoll-0.6.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
61
+ xcoll-0.6.8.dist-info/METADATA,sha256=Vd4tt248o0zu1dCk3dxdO1FGuU8_7cNtVf3K8vVrRcQ,2953
62
+ xcoll-0.6.8.dist-info/NOTICE,sha256=6DO_E7WCdRKc42vUoVVBPGttvQi4mRt9fAcxj9u8zy8,74
63
+ xcoll-0.6.8.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
64
+ xcoll-0.6.8.dist-info/entry_points.txt,sha256=fC9oojAU6WjKujnGBodo7ZcEeBGfSfeLPO5287echdY,26
65
+ xcoll-0.6.8.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.2.1
2
+ Generator: poetry-core 2.1.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any