We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9a011c + 39b4417 commit 1613255Copy full SHA for 1613255
src/core/main.py
@@ -52,6 +52,7 @@ def __init__(self, **args):
52
# initialize state
53
self.nonce = 0
54
self.all_genomes = []
55
+ self.all_combinations = []
56
57
def __tomlify(self) -> str:
58
"""
@@ -102,9 +103,10 @@ def __build_genome_metadata(self, token_id: int = 0):
102
103
else:
104
return self.__build_genome_metadata(token_id)
105
- if genome_traits in self.all_genomes and not self.allow_duplicates:
106
+ if genome_traits in self.all_combinations and not self.allow_duplicates:
107
108
109
+ self.all_combinations.append(genome_traits)
110
self.all_genomes.append(
111
{
112
"token_id": token_id,
0 commit comments