-
Notifications
You must be signed in to change notification settings - Fork 13
Upgraded metadata lookup for backwards compatibility, added option to input metadata manually #179
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
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
85bcc5d
Added new names for sam_x and sam_y into md_secondary_lookup
PriyankaKetkarBNL b33d40b
Trying temporary fix to replace metadata names in the primary lookup …
PriyankaKetkarBNL b1d6d8e
Added a comment.
PriyankaKetkarBNL 09ff9c7
Temporarily removing actual_exposure in loadRun
PriyankaKetkarBNL 7a3fbc9
Trying to put placeholder value for md["exposure"] for troubleshootin…
PriyankaKetkarBNL 7732c9d
Added comment
PriyankaKetkarBNL c63d446
Updated how to handle metadata that loadRun is expecting but was not …
PriyankaKetkarBNL 2c4b3f6
Using primary timestamps instead of start document time for images
PriyankaKetkarBNL 4c47923
Changing epoch in 2 places?
PriyankaKetkarBNL ac53c04
Removed .timestamps() attribute and also removed duplicate instance w…
PriyankaKetkarBNL 5fe73ca
Updated mdLookup dictionary and propagated changes to where md is sea…
PriyankaKetkarBNL 74ab887
Fixed typo
PriyankaKetkarBNL 5538ed0
Fixed indentation
PriyankaKetkarBNL b607a75
Fixed typo
PriyankaKetkarBNL 5c7ae68
Updated md key name and warnings while looking up data from Tiled.
PriyankaKetkarBNL c7d0429
Added comment.
PriyankaKetkarBNL cd06476
Simplified checking if a key is in md dictionary
PriyankaKetkarBNL 02bd425
Added beamline md keys for sam_x and sam_y based on Bluesky changes m…
PriyankaKetkarBNL 82ef0a7
Additional sample motors that got changed during 20250308 beam time
PriyankaKetkarBNL e285f75
WAXS beam center metadata not being saved from Tiled. Using hard-cod…
PriyankaKetkarBNL 489d41f
Updated config identifying condition
PriyankaKetkarBNL 6cd2c07
Changed variable names to snake case
PriyankaKetkarBNL bfcb607
Added back "en_monoen_setpoint" into md_lookup dictionary
PriyankaKetkarBNL 68f49fd
Using dict.update() instead of for loop to add manual metadata entries.
PriyankaKetkarBNL 567d8f9
Updated reverse_lut nested for loops to nested dict comprehension
PriyankaKetkarBNL db68115
Update src/PyHyperScattering/SST1RSoXSDB.py
PriyankaKetkarBNL ec1d747
Updated baseline warning
PriyankaKetkarBNL 4be3a42
Updated checking datatype of baseline data
PriyankaKetkarBNL e8abbd9
Added rounding to baseline md values and added explanation comment.
PriyankaKetkarBNL bd12088
Added comment to explain dict comprehension structure
PriyankaKetkarBNL 1cc59d9
Separated lines for readability
PriyankaKetkarBNL 293e836
Updated comments for searching beamline keys
PriyankaKetkarBNL 8fbfca8
Handle cases where exposure might be None or not present
pbeaucage 1e52b58
Merge branch 'main' into Issue178_FixLoadRun
pbeaucage 1d5b07f
Remove mdManual kwarg
pbeaucage 0972b0a
Update src/PyHyperScattering/SST1RSoXSDB.py
pbeaucage 4d3ad8d
Formatting fix in imports
pbeaucage 7441146
Apply final review fixes
pbeaucage e8b9d1b
Added new tests to capture January-February 2025 beamline codebase ch…
PriyankaKetkarBNL 0f1b715
Added another test for spiral scans after January 2025 beamline codeb…
PriyankaKetkarBNL dcce991
Added comments documenting when metadata names started being used for…
PriyankaKetkarBNL 6722c26
Remove explicit dimension hinting where not necessary
pbeaucage 9c60828
remove polarization asserts
pbeaucage File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.