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

adds support for configuring hardware objects with YAML files #1474

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

elmjag
Copy link
Contributor

@elmjag elmjag commented Oct 28, 2024

The changes required for MXCuBE-web to work with mxcubecore with these changes: mxcube/mxcubecore#1062

That is, adapt MXCuBE-web to work with YAML config files.

Also adds new demo.yaml directory, which is the demo beamline configured with YAML files.

Putting this as Draft for now. Let's discuss first discuss these changes at the upcoming developers meeting.

rhfogh and others added 6 commits October 28, 2024 07:25
Adapt 'demo' YAML configuration files to the new format.
Adds --export-yaml-config command line argument to mxcubeweb-server
script. When used, the HWO YAML config files will be written to the
specified directory.

The aim of this feature is assist in migrating beamline XML
configuration to YAML style.
Accessing session precision config via 'session["file_info"]' syntax
is not supported when YAML configuration file is used. Use the
PathTemplate class instead.
The HWOBJ.set_property() method has been removed. Manipulate the
lims HWOBJ's configuration using it's 'config' attribute.
Adding an example of the mockup beamline, where all HWOBJs are
configured with YAML files.

To start MXCuBE with this version of beamline, use '--repository'
command line argument. For example:

   ./mxcubeweb-server --repository demo.yaml
@elmjag elmjag marked this pull request as draft October 28, 2024 08:58
@elmjag
Copy link
Contributor Author

elmjag commented Oct 28, 2024

The CI test are failing, because they need mxcubecore version as in this PR: mxcube/mxcubecore#1062

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