Move magnet model device to name (to be solved by catalog)#291
Move magnet model device to name (to be solved by catalog)#291JeanLucPons wants to merge 15 commits into
Conversation
|
@ Guillaume |
|
@JeanLucPons, I had to change a few lines of code to make the examples loadable, so I could make sure they are correct. |
|
Converting this PR to draft since it's still a work in progress and tests aren't ready yet. |
# Conflicts: # pyaml/magnet/linear_model.py
|
I would prefer to avoid any merge for main otherwise after a while git is not able to present correctly merge conflicts. Some old core can reappear. |
|
Done. Tested on both BESSY2 VA and EBS VA (orbit). |
| @@ -171,4 +171,4 @@ def __repr__(self): | |||
| return __pyaml_repr__(self) | |||
|
|
|||
| def get_devices(self) -> list[DeviceAccess]: | |||
There was a problem hiding this comment.
This method returns a list of string now. It should be renamed get_device_names too.
This PR moves Magnet device access to new Catalog architecture in the backends.
Closes #290