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

independent utility to write metadata file after the run completes #107

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

prjemian
Copy link
Contributor

@prjemian prjemian commented Nov 6, 2024

@prjemian prjemian added the enhancement New feature or request label Nov 6, 2024
@prjemian prjemian self-assigned this Nov 6, 2024
src/instrument/utils/conversions.py Show resolved Hide resolved
src/instrument/utils/dm_metadata_file.py Outdated Show resolved Hide resolved
from .iconfig_loader import iconfig # noqa

CATALOG = iconfig.get("DATABROKER_CATALOG", "8idi_xpcs")
XPCS_LAYOUT_VERSION = "APS-8IDI-202310"
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this showcase?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

XPCS_LAYOUT_VERSION is for the consumer of this file, to expect that certain items are present.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice, is there anywhere for users to see what layout versions are expected and the options one could use?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this is a conversation with @AZjk .

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

Successfully merging this pull request may close these issues.

Independent function for writing the nx hdf file after acquisition is complete
2 participants