diff --git a/taranis/distance.py b/taranis/distance.py index 4b2ec2f..028dfbb 100644 --- a/taranis/distance.py +++ b/taranis/distance.py @@ -77,7 +77,7 @@ def create_matrix(self) -> pd.DataFrame: dist_matrix.write("\n".join(out_data[1:])) dist_matrix.seek(0) matrix_pd = pd.read_csv( - dist_matrix, sep="\t", index_col="alleles", engine="python", dtype=float + dist_matrix, sep="\t", index_col="alleles", engine="python" ).fillna(0) # Close object and discard memory buffer dist_matrix.close()