I was preparing a clock model template and it did not appear on the list of clock models in BEAUti. There were no error messages and the fxtemplates file was being loaded into BEAUti. It turned out that one of the Input terms in the clock model class was expecting a RealScalarParam<NonNegativeReal> but the parameter in the BEAUti template was a PositiveReal. Once I found the problem, it was easy to fix. But the bigger issue is that it this incredibly simple issue took me about an hour to track down. Presumably BEAUti tried to load this class and an exceeption was thrown, but rather than pass it along to me, it just ignored the problem and stayed quiet.
Therefore, to prevent this problem for other developers, is there a way to report these kinds of exceptions to the standard output?
I was preparing a clock model template and it did not appear on the list of clock models in BEAUti. There were no error messages and the fxtemplates file was being loaded into BEAUti. It turned out that one of the Input terms in the clock model class was expecting a
RealScalarParam<NonNegativeReal>but the parameter in the BEAUti template was aPositiveReal. Once I found the problem, it was easy to fix. But the bigger issue is that it this incredibly simple issue took me about an hour to track down. Presumably BEAUti tried to load this class and an exceeption was thrown, but rather than pass it along to me, it just ignored the problem and stayed quiet.Therefore, to prevent this problem for other developers, is there a way to report these kinds of exceptions to the standard output?