PoonLab / Kaphi

Kernel-embedded ABC-SMC for phylodynamic inference
GNU Affero General Public License v3.0
4 stars 2 forks source link

Incorporate helpful error messages when MASTER is unable to generate newick/nexus trees #110

Closed gtng92 closed 6 years ago

gtng92 commented 6 years ago

To prevent this message:

> obs.tree <- epidem.model(theta, nsim=1, tips=100, tsample=0.1, model='epidemic')[[1]]
Warning message:
In read.tree(file = "temp.newick") : empty character string.
ArtPoon commented 6 years ago

A check for this can be written at the end of master_xml_template.R:.call_master()

gtng92 commented 6 years ago

Issue #120 There may be other checks that need to be incorporated in the future.