lmaurits / BEASTling

A linguistics-focussed command line tool for generating BEAST XML files.
BSD 2-Clause "Simplified" License
20 stars 6 forks source link

Should __distribution__ be a property of all clocks? #257

Open Anaphory opened 4 years ago

Anaphory commented 4 years ago

[S]hould __distribution__ be a property of all clocks? I would have expected it in the random clocks only. Is this necessary for the subclass/registration magic?

Originally posted by @Anaphory in https://github.com/lmaurits/BEASTling/pull/248

The attribute was added to beastling/clocks/baseclock.py in #248 and it definitely works that way, but I wonder whether that is how it should be solved.