spc-group / haven

Bluesky tools for beamlines managed by the spectroscopy group
https://haven-spc.readthedocs.io/en/latest/
Other
2 stars 6 forks source link

Energy scan sample_name metadata not getting into the database #287

Open canismarko opened 1 week ago

canismarko commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

canismarko commented 6 days ago

@Cathyhjj I added a test for making sure the xafs_scan and energy_scan plans handle metadata properly on the xafs_metadata branch. Would you please fix the metadata so that is uses "sample_name" instead of "sample".

Cathyhjj commented 15 hours ago

changed and created a PR @canismarko