-
Notifications
You must be signed in to change notification settings - Fork 15
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
Uncertainty in time-histories #116
Comments
What version of Cerberus do you have installed? You should install 1.1 (but not 1.2, because that's broken for another reason). It looks like your spacing is not correct, the |
If you really want to get into the weeds of fixing this and related issues, we're discussing changing how the validation works over here: #103 |
I have Cerberus 1.1. I saw that my error is added to the list of errors instead of being raised in cerberus 1.2, but like you said - 1.2 is broken for another reason. I fixed my spacing, but it still doesn't work (see here: https://travis-ci.org/jsantner/PyKED/builds/392733269). Do you have any examples including uncertainty in time-history that don't raise a For now, I'll just have to use I'll look at #103 and get involved there, thanks. |
Background
While working on #115 , I had gotten to a point where I thought I had solved my issues - the error message had changed significantly but all Travis tests passed. I figured I now had some problem with my particular input file. But, after working further, it seems there is an issue when using uncertainty in time-histories.
Am I formatting the uncertainty incorrectly somehow? Should I just skip the validation step? Or, is PyKED unable to handle uncertainty in time-histories?
Code sample, preferably able to be copy-pasted and run with no changes
See my forked version of the code here: https://github.com/jsantner/PyKED/tree/uncertainty
In this commit, I altered one of the yaml files to include uncertainty in the time history:
Expected behavior
I didn't expect any error messages
Actual behavior, including any error messages
I receive the following traceback, with equivalent results in the Travis job linked here.
PyKED/ChemKED version, Python version, OS version
PyKED version: my own forked repo that can read csv files for tiem history
Python version: 3.6
OS version: Windows 10
The text was updated successfully, but these errors were encountered: