Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Cats90 and all other PX1 specific classes #1088

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

HilbertCorsair
Copy link
Contributor

No description provided.

Copy link
Member

@beteva beteva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why defining PX1Resolution and not just use the resolution HO instead. You only need to configure the xml file.
Also could you explain why defining extra PX1DetectorDistance, as it could be just a TangoMotor.
Since you are on it, we use google style doc strings to describe methods and classes documentation (please, see in the contributing guidelines for more details)

mxcubecore/HardwareObjects/Cats90.py Outdated Show resolved Hide resolved
@beteva beteva requested a review from hellmig November 27, 2024 12:54
@HilbertCorsair
Copy link
Contributor Author

Hi @beteva I saw your posts after running the pre-commit pushing the files. I will remove that line from Cats90.py I missed that. You are right about the Resolution and TangoMotor. These are the actual classes that are used and configured in the beamline_config.yml file. Although I updated the PX1Resolution and PX1DetectorDistance these are not currently being used.

@HilbertCorsair
Copy link
Contributor Author

The updates to the PX1DetectorDistance and PX1Resolution were made quite a long time ago and I decided to include them as well in this commit to update the file although they are not in use at the moment since we use the Resolution and TangoMotor classes as you pointed out.

@HilbertCorsair
Copy link
Contributor Author

I can remove those files that are not in use if you think it is best.

mxcubecore/HardwareObjects/Cats90.py Outdated Show resolved Hide resolved
mxcubecore/HardwareObjects/Cats90.py Outdated Show resolved Hide resolved
mxcubecore/HardwareObjects/SOLEIL/PX1/PX1Beamline.py Outdated Show resolved Hide resolved
mxcubecore/HardwareObjects/SOLEIL/PX1/PX1CatsMaint.py Outdated Show resolved Hide resolved
mxcubecore/HardwareObjects/TangoMotor.py Outdated Show resolved Hide resolved
@beteva
Copy link
Member

beteva commented Jan 6, 2025

@hellmig could you, please, check if the changes made in Cats90.py are OK for you. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants