PoonLab / Kaphi

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

Alternative distance metrics back-end formula #122

Closed gtng92 closed 6 years ago

gtng92 commented 6 years ago

Using distance metric sackin to calculate distances:

Error in Kaphi::sackin(x, weight = 1, use.branch.lengths = TRUE) : 
  unused argument (weight = 1)

User may include a weighting, even though they are using only one distance metric. This needs to be stripped out of the final expression before being evaluated in the run