Open ewaagaard opened 9 months ago
Cloning the repo and running the test in tests/sps/test_generating_symmetric_sps_seq.py fails:
tests/sps/test_generating_symmetric_sps_seq.py
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?
SPS_2021_Pb_symmetric.seq
Also tested to go back to the commit where the symmetric case was added - Twiss still fails. Due to different version of cpymad?
Cloning the repo and running the test in
tests/sps/test_generating_symmetric_sps_seq.py
fails:Loading pre-existing sequence file
SPS_2021_Pb_symmetric.seq
that was generated through this method works - what happened along the way?