-
Notifications
You must be signed in to change notification settings - Fork 10
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
deerload: Fix bug when loading BES3T files with entries in manipulation history layer #164
Merged
Conversation
This file contains 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 will be patched into v0.13.1 as well. |
stestoll
requested changes
Apr 23, 2021
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.
Add deerload tests
stestoll
requested changes
Apr 27, 2021
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.
Rename data files to indicate deerload
-relevant features of the files.
stestoll
approved these changes
Apr 27, 2021
luisfabib
added a commit
that referenced
this pull request
May 18, 2021
* deploy_ghpages.yml: add missing dependency (#161) * Bump VERSION to v0.14.0-dev (#162) * bump VERSION to 0.14.0-dev * add Python 3.9 to conda build * Removed Ctot from second order term in chemicalequalibrium polynomial (#163) * Fix prescaling of data and vanishing confidence intervals in `snlls` (#166) * parse_multidatasets: fix bug in parsing so that prescaling works also for single signals * tests: fix snlls test * fitregmodel: adapt to changes in parse_multidatasets * tests: refactor test as relative assertion * Update README.md (#167) * deerload: Fix bug when loading BES3T files with entries in manipulation history layer (#164) * deerload: fix bug when loading BES3T files with entries in manipulation history layer * add unit tests for deerload * deerload: fix error in parsing of XGF files * rename test data files consistently * fix tests Co-authored-by: Stefan Stoll <stestoll@users.noreply.github.com> * Fix behavior of weights in global fitting (#171) * fitregmodel: fix behaviour of weights in global fitting * fitparamodel: add test for global weights behaviour * lsqcomponents: fix usage of global weights * fitmultimodel: fix behaviour of weights in global fitting * fitmultimodel: return list of fitted signals instead of single array, fix scaling of output fit signals and UQ, fix plotting * fitmultimodel: fix scaling issue in global fitting * snlls: fix behaviour of weights in global fitting * fitmodel: add tests to check behaviour of weights in global fitting * fitmultimodel: fix error when plotting single dataset fits * fitmultimodel: fix bug in plottin of single dataset fits * fitmultimodel: fix error in previous commit * fitmodel: Fix uncertainty quantification when fitting dipolar evolution functions (#172) * fitmodel: fix errors in uncertainty quantification for dipolar evolution functions * modify tests that missed the error * fitmodel: fixed error found by tests * fitparamodel: fix scale of output fit.model and its uncertainty (#173) * snlls: allow `extrapenalty` to take linear parameters as input (#175) * snlls: allow `extrapenalty` to take linear parameters as input * snlls: fix order of concatenation of Jacobians * Optimize default weights in global fitting according to the datasets noise levels (#174) * optimize default weights in global fitting according to the datasets noise levels * add tests * fix bug in calculation of default weights for arbitrary scales * refactor DER_SNR method, add reference Co-authored-by: Stefan Stoll <stestoll@users.noreply.github.com> * VERSION: bump to v0.13.1 * CHANGELOG: update for v0.13.1 * CHANGELOG: minor edits * fix GHA to run on a PR to merge into any branch * fix GHA to run docs CI on PR to merge into any branch Co-authored-by: Maxx Tessmer <mhtessmer@gmail.com> Co-authored-by: Stefan Stoll <stestoll@users.noreply.github.com>
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.
This patches a bug in the
deerload
function that happens in certain BES3T Bruker spectrometer files, where there are entries under theMANIPULATION HISTORY LAYER
section at the end of the descriptor file.The function now breaks the keyword parsing of the descriptor file when reaching this section to avoid the error.