Spaces:
Running
Running
Andrea Maldonado
commited on
Commit
·
05e5743
1
Parent(s):
6b73774
Adds genEL to all identifyers
Browse files- gedi/generator.py +3 -1
gedi/generator.py
CHANGED
@@ -192,7 +192,9 @@ class GenerateEventLogs():
|
|
192 |
try:
|
193 |
identifier = [x for x in task[1] if isinstance(x, str)][0]
|
194 |
except IndexError:
|
195 |
-
identifier =
|
|
|
|
|
196 |
task = task[1].drop('log', errors='ignore')
|
197 |
self.objectives = task.dropna().to_dict()
|
198 |
random.seed(RANDOM_SEED)
|
|
|
192 |
try:
|
193 |
identifier = [x for x in task[1] if isinstance(x, str)][0]
|
194 |
except IndexError:
|
195 |
+
identifier = task[0]+1
|
196 |
+
identifier = "genEL" +str(identifier)
|
197 |
+
|
198 |
task = task[1].drop('log', errors='ignore')
|
199 |
self.objectives = task.dropna().to_dict()
|
200 |
random.seed(RANDOM_SEED)
|