You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For certain formula, certain input values are not permitted. For example in the equation h^c where h is the input variable, if the calibration data contains a negative input value (and c is not an integer) the equation is no longer valid. However, BaM produces results when I think it should fail with an explicit error message. Instead Results_MCMC_Cooked.txt contains the same value repeated for each row and LogPost values are set to NaN.
This is not so problematic since the results are clearly not valid but I'd prefere BaM to crash.
Reproduction
In the attached file, you can test this by modifying the calibration data (file Data_fakeCalibrationData.txt) from the not working case
X_h Y_Q
-1.0 0.0
to this working case
X_h Y_Q
1.0 0.0
Not that for this example to work, you need to launch BaM from within the directory where all the config files are since relative paths are broken otherwise (I might open another issue for this). From within the config files directory, run /path/to/BaM/exe -cf "./Config_BaM.txt
Description
For certain formula, certain input values are not permitted. For example in the equation
h^c
whereh
is the input variable, if the calibration data contains a negative input value (andc
is not an integer) the equation is no longer valid. However, BaM produces results when I think it should fail with an explicit error message. InsteadResults_MCMC_Cooked.txt
contains the same value repeated for each row and LogPost values are set to NaN.This is not so problematic since the results are clearly not valid but I'd prefere BaM to crash.
Reproduction
In the attached file, you can test this by modifying the calibration data (file
Data_fakeCalibrationData.txt
) from the not working caseto this working case
Not that for this example to work, you need to launch BaM from within the directory where all the config files are since relative paths are broken otherwise (I might open another issue for this). From within the config files directory, run
/path/to/BaM/exe -cf "./Config_BaM.txt
ISSUE_INVALID_CALIBRATION_DATA.zip
The text was updated successfully, but these errors were encountered: