Skip to content

ESRF cases for pyAML - few findings #171

@marlibgin2

Description

@marlibgin2

I tested few .py codes in ESRF_ORM_example and in ESRF_tune_example
1 - some cases work namely
measure_dispersion
correct_orbit
measure_ideal_ORM_dispersion

some other do not
measure_ideal_ORM

...
02 Feb% 2026, 19:20:52 | INFO | Measured response of SI2E-C03-V.
02 Feb% 2026, 19:20:52 | INFO | Measured response of SI1E-C03-V.
02 Feb% 2026, 19:20:52 | INFO | Measured response of SH3E-C03-V.
Traceback (most recent call last):
File "/gpfs/offline1/staff/common/marapo/pyAML_WORKSHOP_2026/tango-pyaml/examples/ESRF_ORM_example/measure_ideal_ORM.py", line 19, in
ormdata = ebs.get()
^^^^^^^
AttributeError: 'Simulator' object has no attribute 'get'

2- for the tune example no case works for me
e.g.
(pyat_conda) [marapo@accdev-0 ESRF_tune_example]$ python esrf_tune_example.py
Traceback (most recent call last):
File "/gpfs/offline1/staff/common/marapo/pyAML_WORKSHOP_2026/tango-pyaml/examples/ESRF_tune_example/esrf_tune_example.py", line 9, in
sr: Accelerator = Accelerator.load("./tests/config/EBSTune.yaml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/gpfs/offline1/staff/common/marapo/pyAML_WORKSHOP_2026_developer/pyaml/pyaml/accelerator.py", line 170, in load
raise PyAMLConfigException(f"{filename} file not found")
pyaml.common.exception.PyAMLConfigException: ./tests/config/EBSTune.yaml file not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions