Change key: pd_qpa_external_std#295
Closed
rowlesmr wants to merge 24 commits into
Closed
Conversation
Removed _pd_calib_xcoord.xcoord_overall_id (kept as linked non-key) Added _pd_calib_xcoord.detector_id -> otherwise don't know which detector is being calibrated
It was a circuitous lookup. Use instr_id associated with the unknown diffractogram to look up the (non-key) instr_id of the diffractogram in the qpa_ext_std table to get the k_factor. K factors are associated with instruments. If anything changes in the instrument, particularly anything to do with flux, a new id is required, and so a new K_factor can be gotten.
This reverts commit f522585.
This reverts commit ac45c0d.
This reverts commit 914022b.
This reverts commit 60b19ac.
This reverts commit ce2de47.
This reverts commit 3c33dd1.
This reverts commit f849b07.
This reverts commit d9191dc.
This reverts commit a6c271e.
This reverts commit 31aea05.
Collaborator
Author
|
This was done against the old cif_pow.dic file and is very hard to unravel. See #316 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
pd_qpa_external_std- originally keyed on.diffractogram_id. This was only used to get to the associated.instr_idvalue, so I decided to cut out the middleman and key it directly on.instr_id. This has the side-effect of requiring a new_pd_instr.idif a recalibration is required, but this was always implicitly there..diffractogram_iddemoted to linked, non-key data name..instr_idadded as category key. Updated the example to link the mass absorption coefficient of the specimen to the diffractogram though apd_char,pd_prep,pd_specchain.