Closed richelbilderbeek closed 4 years ago
OK, something happened to pirouette between 2 and 3 days ago:
Weird, all I did those days was using newer version of beastier, beautier, babette, etc... :confused:
Ah, the experiments are not checked to have different filenames:
> pir_params$experiments[[1]]$errors_filename
[1] "/home/richel/temp/temp/pirouette_example_30/example_30_314/errors.csv"
> pir_params$experiments[[2]]$errors_filename
[1] "/home/richel/temp/temp/pirouette_example_30/example_30_314/errors.csv"
Also, df_errors
does not contain an x
column.
csv_filename <- first_experiment$errors_filename
testthat::expect_true(file.exists(csv_filename))
df_errors <- utils::read.csv(csv_filename)
testthat::expect_true("x" %in% names(df_errors))
> df_errors
tree inference_model inference_model_weight site_model clock_model tree_prior error_1
1 true generative NA JC69 strict yule 0.31887031
2 true candidate 0.9375251 JC69 strict birth_death 0.31887031
3 twin generative NA JC69 strict yule 0.09862447
4 twin candidate 0.4727861 JC69 strict birth_death 0.09862447
error_2 error_3 error_4
1 0.060040025 0.01627043 0.042882867
2 0.019009408 0.01266966 0.025718688
3 0.007670674 0.01793261 0.014001079
4 0.021105273 0.03824056 0.007614701
Moved to https://github.com/richelbilderbeek/pirouette/issues/402, closing this one
From the Travis CI build log: