BDI-pathogens / phyloscanner

Phylogenetics between and within hosts at once, all along the genome.
GNU General Public License v3.0
44 stars 14 forks source link

Opaque SummaryStatistics.R error message #4

Closed ChrisHIV closed 7 years ago

ChrisHIV commented 7 years ago

I gave SummaryStatistics.R a patient ID file which didn't match the IDs in the trees (I made it manually and forgot the '.bam' suffix), resulting in the error

Error in `colnames<-`(`*tmp*`, value = c("window.middle", "patient", "prop.gp.1",  : 
  'names' attribute [4] must be the same length as the vector [3]
Execution halted

Would be good to have a more transparent error message.

ChrisHIV commented 7 years ago

Fixed with most recent version.