Skip to content

BEAUti is suppressing error messages related to strong typing #54

@jordandouglas

Description

@jordandouglas

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions