Skip to content

String representation with new configuration #345

Description

@gubaidulinvadim
from pyaml.accelerator import Accelerator
sr = Accelerator.load("tests/config/EBSOrbit.yaml")
SR = sr.design
print( SR.get_bpm("BPM_C04-04") )

before:

BPM(peer='Simulator:design', name='BPM_C04-04', description=None, lattice_names=None, x_pos='srdiag/bpm/c04-04/SA_HPosition', y_pos='srdiag/bpm/c04-04/SA_VPosition', x_offset=None, y_offset=None, tilt=None)

after:

BPM(name='BPM_C04-04')

Originally posted by @JeanLucPons in #330 (comment)

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions