Skip to content

Commit 8f35c6d

Browse files
committed
camelcase table name on csv insert
1 parent 984e681 commit 8f35c6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

element_interface/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import sys
77
import uuid
88

9+
from datajoint.utils import to_camel_case
10+
911
logger = logging.getLogger("datajoint")
1012

1113

@@ -147,7 +149,7 @@ def ingest_csv_to_table(
147149
insert_len = len(table) - prev_len
148150
logger.info(
149151
f"\n---- Inserting {insert_len} entry(s) "
150-
+ f"into {table.table_name} ----"
152+
+ f"into {to_camel_case(table.table_name)} ----"
151153
)
152154

153155

0 commit comments

Comments
 (0)