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

refactoring get_objects_by_role() in HardwareObjectNode class #857

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

HilbertCorsair
Copy link
Contributor

This is the refactoring that was discused in my previous PR. This new PR should eliminate the coplications of the previous atempt.

@marcus-oscarsson
Copy link
Member

Thanks, its a clear improvement very nice 👍

There seems to be some linting errors. Apart from that it would be really nice with a test case for this, especially since its a very frequently used piece of code and also because it might get changed when we start working on the xml to yml work.

@fabcor-maxiv
Copy link
Contributor

Some of the linting issues are unrelated to this pull request, so I fixed them here: #858

Copy link
Collaborator

@rhfogh rhfogh left a comment

Choose a reason for hiding this comment

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

Excellent! Thanks for taking the trouble

@rhfogh rhfogh merged commit 28a9886 into mxcube:develop Feb 29, 2024
7 of 9 checks passed
@marcus-oscarsson
Copy link
Member

@rhfogh I think there were still some linting not passing, no problem of fixing them in a follow up PR though.

@rhfogh
Copy link
Collaborator

rhfogh commented Feb 29, 2024

Sorry, I guess I jumped the gun there

@marcus-oscarsson
Copy link
Member

Oh wow, working late :). No problem, I think it happened a few times already and it should be easy enough to fix :) What I think Ill do is to enable the option that blocks merging if the pipeline is failing. However it means that we need to disable the test coverage step for now.

I'm on vacation until Monday, so It has to wait for next week.

@rhfogh
Copy link
Collaborator

rhfogh commented Feb 29, 2024

If we start insisting on the pipelines succeeding, then I guess someone would have to help me with mine - it seems to fail every time for my pushes and has never worked as far as I know. But lots of time to look at that later.

rhfogh added a commit that referenced this pull request Mar 4, 2024
Linted BaseHardwareObjects.py left out in #857
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.

4 participants