violll / pokemonDataTools

0 stars 0 forks source link

Check out repeats (form variations, etc) in scrapeEvoLines final output #2

Closed violll closed 5 months ago

violll commented 6 months ago
violll commented 6 months ago

This works for the exact duplicates but adds too much time, maybe turn res back into dict to prevent duplicates?

if tree_to_newick(tree) in [tree_to_newick(t) for t in self.evoLines]: 
     print("hi!!")
else: 
     self.evoLines.add(tree)/``
violll commented 5 months ago

All fixed except unown, currently exploring new way to standardize fixing edge cases (unown and gimmighoul lines)