PyRate
PyRate copied to clipboard
LTT plot shows a wrong number of replicates
PyRate's LTT plot function, called with the -ltt 3 option, draws an incorrect number of diversity trajectories. Instead of showing all replicates (e.g. 20 replicates and 10 resampled models from each, 200 lines in total), it draws the number of lines which is equal to the number of age subdivisions provided by the -grid_plot parameter.
I think the issue is with this loop: https://github.com/dsilvestro/PyRate/blob/9cff67d9f942e97a6be1785e024a0e47c279b08d/PyRate.py#L630