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

ISPyB LIMS: make it possible to use custom ISPyB adapter object #1126

Merged

Conversation

elmjag
Copy link
Contributor

@elmjag elmjag commented Feb 4, 2025

Adds a factory method _create_data_adapter(), which creates an instance of data adapter. This allows to supply different implementation of the adapter objects in custom ISPyB LIMS classes.

We use a custom data adapter at MAX IV, to implement our site specific features.

@marcus-oscarsson
Copy link
Member

marcus-oscarsson commented Feb 5, 2025

Good idea, thanks !

Adds a factory method _create_data_adapter(), which creates an
instance of data adapter.

This allows to supply different implementation of the adapter
objects in custom ISPyB LIMS classes.
@marcus-oscarsson marcus-oscarsson force-pushed the ispyb-lims-create-data-adapter branch from f0b307d to 5142a4d Compare February 5, 2025 11:51
@marcus-oscarsson marcus-oscarsson merged commit 20a693e into mxcube:develop Feb 5, 2025
8 checks passed
@elmjag elmjag deleted the ispyb-lims-create-data-adapter branch February 5, 2025 15:52
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.

2 participants