Skip to content

Commit 8b271a8

Browse files
committed
fix: add milliseconds to timestamp
This way we can run multiple simulations in parallel safely.
1 parent 5a4778f commit 8b271a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/balatrollm/data_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _generate_run_dir(self, base_dir: Path) -> Path:
135135
vendor, model = self.config.model.split("/", 1)
136136
dir_name = "_".join(
137137
[
138-
datetime.now().strftime("%Y%m%d_%H%M%S"),
138+
datetime.now().strftime("%Y%m%d_%H%M%S_%f")[:-3],
139139
self.config.deck.replace(" ", ""),
140140
f"s{self.config.stake}",
141141
self.config.challenge.replace(" ", "") if self.config.challenge else "",

0 commit comments

Comments
 (0)