Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
balabanmetin committed Mar 10, 2022
1 parent 2d7edfa commit 1f75797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uDance/subsample_partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def subsample_partition(partition_output_dir, cutoff):
prevspecies = set(map(lambda x: x.strip(), f.readlines()))
newspecieslst = list(prevspecies.difference(pruned_species))
with open(join(partition_output_dir, "species.txt"), "w") as f:
f.write("\n".join(pruned_species) + "\n")
f.write("\n".join(newspecieslst) + "\n")

for g in genes:
aln_dict = dict()
Expand Down

0 comments on commit 1f75797

Please sign in to comment.