Internal function to extract the treelog filename for a BEAST2 input file
Source:R/extract_treelog_filename_from_beast2_input_file.R
extract_treelog_filename_from_beast2_input_file.Rd
Extract the treelog filename from a BEAST2 input file
Arguments
- input_filename
the name of a BEAST2 input XML file. This file usually has an
.xml
extension. Use create_temp_input_filename to create a temporary filename with that extension.
Examples
if (beautier::is_on_ci()) {
beast2_input_filename <- get_beastier_tempfilename()
beautier::create_beast2_input_file_from_model(
input_filename = beautier::get_beautier_path("test_output_0.fas"),
output_filename = beast2_input_filename
)
extract_treelog_filename_from_beast2_input_file(
input_filename = beast2_input_filename
)
file.remove(beast2_input_filename)
remove_beaustier_folders()
}