-
Notifications
You must be signed in to change notification settings - Fork 2
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
Historical SNAPInstPrm #540
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #540 +/- ##
==========================================
+ Coverage 96.03% 96.08% +0.04%
==========================================
Files 71 71
Lines 5454 5461 +7
==========================================
+ Hits 5238 5247 +9
+ Misses 216 214 -2 ☔ View full report in Codecov by Sentry. |
e1d7918
to
8a3b695
Compare
src/snapred/resources/default/request/fitMultiplePeaks/fitMultiplePeaks/payload.json
Show resolved
Hide resolved
@rboston628 I believe I have addressed all your comments, is there anything I missed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of Indexer
, and the methods setup inside GroceryService
, will ensure the correct set of instrument parameters is grabbed on a per-run basis. The attached script sets up the indexer folder, and I can confirm SNAPRed is pulling the correct params in all three workflows.
…dObject form of each method integrate new lookup, passing tests fix some tests, break others maybe fixes from manual testing and script for initializing the new indexed snap inst prm Cleanup some names added some additional test coverage of new code always pull new instrument state when writing new calibrations fix tests point at new data commit for changes up coverage a bit last bit of coverage?
for more information, see https://pre-commit.ci
41ed407
to
1cadf01
Compare
This PR also requires changes to snapred-data: https://code.ornl.gov/sns-hfir-scse/infrastructure/test-data/snapred-data/-/merge_requests/4
Description of work
This pr enables snapred to track and refer to historical/indexed SNAPInstPrm's by a run number conditional.
It also comes with a cis_test script for initializing said index.
NOTE: I recommend using said script to add the index to your local Calibration directory.
Explanation of work
VersionedObjects
To test
Create a new SNAPInstPrm index using the cis_test script
Run all workflows to completion.
Ensure No Regression.
Link to EWM item
EWM#3408
Verification
Acceptance Criteria
This list is for ease of reference, and does not replace reading the EWM story as part of the review. Verify this list matches the EWM story before reviewing.
minimumApplicableRunNumber
andmaximumApplicableRunNumber
(or similar range definition) such that there is an unambiguous indexing of input sample or calibrant run numbers with the resultant json files.