File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
python_examples/run3_collisions_python Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 194194 print ('Leveling not working in this mode!' )
195195 else :
196196 if particle_type == 'ion' : # the legacy macro for BB have been checked but not maintained
197- raise ValueError
197+ raise ValueError
198198 # Luminosity levelling
199199 vars_for_legacy_level = ['lumi_ip8' ,
200200 'nco_IP1' , 'nco_IP2' , 'nco_IP5' , 'nco_IP8' ]
523523with open ('./optics_orbit_at_start_ring_from_madx.json' , 'w' ) as fid :
524524 json .dump (optics_and_co_at_start_ring_from_madx , fid , cls = pm .JEncoder )
525525
526- ##################
527- # Generate xline #
528- ##################
529-
526+ ########################
527+ # Generate xtrack line #
528+ ########################
530529if enable_bb_legacy :
531- print ('xline is not generated with bb legacy macros' )
530+ print ('xtrack line is not generated with bb legacy macros' )
532531else :
533- pm .generate_xline (mad_track , sequence_to_track , bb_df_track ,
532+ pm .generate_xsuite_line (mad_track , sequence_to_track , bb_df_track ,
534533 optics_and_co_at_start_ring_from_madx ,
535- folder_name = './xlines ' ,
534+ folder_name = './xsuite_lines ' ,
536535 skip_mad_use = True ,
537536 prepare_line_for_xtrack = True )
538537
You can’t perform that action at this time.
0 commit comments