Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pymodels/SI_V25_04/lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import math as _math

import lnls as _lnls
import mathphys as _mp
from pyaccel import accelerator as _pyacc_acc, elements as _pyacc_ele, \
lattice as _pyacc_lat
Expand Down Expand Up @@ -626,7 +625,7 @@ def create_lattice(

anel = [S01, S02, S03, S04, S05, S06, S07, S08, S09, S10,
S11, S12, S13, S14, S15, S16, S17, S18, S19, S20]
anel = _lnls.utils.flatten(anel)
anel = _mp.functions.flatten(anel)

the_ring = _pyacc_lat.build(anel)

Expand Down