Skip to content

Commit a689375

Browse files
- maybe now?
1 parent ebbefa7 commit a689375

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/spatial_transcript_former/training/experiment_logger.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ def _init_db(self):
4343
with sqlite3.connect(self.db_path) as conn:
4444
# We use a dynamic schema where columns are added as needed.
4545
# Start with just 'epoch' as the primary key.
46-
conn.execute("""
46+
conn.execute(
47+
"""
4748
CREATE TABLE IF NOT EXISTS metrics (
4849
epoch INTEGER PRIMARY KEY
4950
)
50-
""")
51+
"""
52+
)
5153

5254
def _ensure_columns(self, metrics: Dict[str, float]):
5355
"""Ensures all metric keys exist as columns in the metrics table."""

0 commit comments

Comments
 (0)