Skip to content

Commit 082bded

Browse files
committed
Remove redundant code
1 parent bfc4fad commit 082bded

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

optimas/core/trial.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ def to_dict(self) -> Dict:
9494
"_status": self._status,
9595
}
9696

97-
if hasattr(self, "_gen_id"):
98-
trial_dict["gen_id"] = self.gen_id
99-
10097
return trial_dict
10198

10299
@classmethod

0 commit comments

Comments
 (0)