Skip to content

Conversation

@adedamola-sode
Copy link
Collaborator

Seperated guibuilder functional class and dataclasses

@codecov
Copy link

codecov bot commented Feb 7, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@adedamola-sode
Copy link
Collaborator Author

It's not installing the entrypoint, I'll try to fix the actons

"""

def __init__(self, create_gui: str):
Copy link
Collaborator

Choose a reason for hiding this comment

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

It might be better to name the file arg something like "create_gui_file" or "create_gui_yaml" just to clarify it is the file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will make create_gui_yaml, I think that suits it? Probably need to add some error reporting for bad yaml files, and wrong file types in general

to the required screen in gui_map.yaml
"""

gui_map = "/BLGui/BLGuiApp/opi/bob/gui_map.yaml"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the plan to still try and have BLGui as a submodule to this repo? If so, will this path be the same?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, will make changes in a further PR to resolve it. But BLGui is internal, and a diamond thing. So it's basically warded off by gitlab token access, and will only be available to diamond users, hard coding the path seems reasonable??? - I also assume we won't clone a version of it in every beamline services folder? If so, it's between relative path to the services folder, or the beamline submodule folder.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it worth discussing with Tom about moving it to Github then? Would make our lives so much easier...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I'll make the request now

print("No BOB available")


if __name__ == "__main__":
Copy link
Collaborator

Choose a reason for hiding this comment

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

we shouldn't need these two lines seeing as the command line should be handled by __main__.py; this script shouldn't need to be manually run.

@OCopping OCopping force-pushed the PhoebusGuiBuilderClass branch from 63aa88a to 0f41daf Compare February 20, 2025 09:59
Rebasing phoebus class redesign with changes made to testing and
dependencies.
@OCopping OCopping force-pushed the PhoebusGuiBuilderClass branch from 0f41daf to 262fd6e Compare February 20, 2025 10:26
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