lmaurits / BEASTling

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

Add tests for running BEAST on data containing synonyms #245

Closed Anaphory closed 4 years ago

Anaphory commented 5 years ago

Hopefully, they can also serve as initial rough examples.

Fixes #144

This only deals with synonyms in binarized data. We have some rudimentary support for synonyms in non-binary data, by overloading the method BaseModel.reduce_multivalue_data. Currently, that method returns the last value of a multi-value list, but it could be overloaded to supply other methods of aggregation.

codecov-io commented 5 years ago

Codecov Report

Merging #245 into master will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #245   +/-   ##
=====================================
  Coverage       0%     0%           
=====================================
  Files          28     28           
  Lines        3092   3089    -3     
=====================================
+ Misses       3092   3089    -3
Impacted Files Coverage Δ
beastling/models/binary.py 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c5cb7c4...bec2d18. Read the comment docs.