Skip to content

Commit 9775d0a

Browse files
fix: Remove deprecated ___ separator support
Only --- is now accepted as the primary key separator. This simplifies the syntax and aligns with documented usage. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 30b7130 commit 9775d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datajoint/declare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def prepare_declare(
360360
for line in definition:
361361
if not line or line.startswith("#"): # ignore additional comments
362362
pass
363-
elif line.startswith("---") or line.startswith("___"):
363+
elif line.startswith("---"):
364364
in_key = False # start parsing dependent attributes
365365
elif is_foreign_key(line):
366366
compile_foreign_key(

0 commit comments

Comments
 (0)