import dendropy
pdm = dendropy.PhylogeneticDistanceMatrix.from_csv(
        src=open("testdist.csv"),
        delimiter=",")
my_tree = dendropy.Tree.get(
        path="testtree.nwk",
        schema="newick")
#in here, how do I compute all edge lengths with an objective function to that this...
print(my_tree.as_string("newick"))