Skip to content

Twiss for new SPS symmetric sequence fails #5

@ewaagaard

Description

@ewaagaard

Cloning the repo and running the test in tests/sps/test_generating_symmetric_sps_seq.py fails:

Traceback (most recent call last):
  File "/home/elwaagaa/cernbox/PhD/Python/fma_ions/tests/sps/test_generating_symmetric_sps_seq.py", line 7, in <module>
    sps.generate_symmetric_SPS_lattice()
  File "/home/elwaagaa/cernbox/PhD/Projects/fma_ions/fma_ions/sequence_classes_sps.py", line 612, in generate_symmetric_SPS_lattice
    twiss_thin = madx.twiss()  
                 ^^^^^^^^^^^^
  File "/home/elwaagaa/anaconda3/envs/fma_xsuite_env/lib/python3.11/site-packages/cpymad/madx.py", line 388, in twiss
    raise TwissFailed()
cpymad.madx.TwissFailed

Loading pre-existing sequence file SPS_2021_Pb_symmetric.seq that was generated through this method works - what happened along the way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions