Skip to content

Commit ae5a051

Browse files
committed
bugfix in unite_master_parts - handles dj.Lookup part tables
1 parent 7b4c1c9 commit ae5a051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def unite_master_parts(lst):
1818
"""
1919
for i in range(2, len(lst)):
2020
name = lst[i]
21-
match = re.match(r'(?P<master>`\w+`.`\w+)__\w+`', name)
21+
match = re.match(r'(?P<master>`\w+`.`#?\w+)__\w+`', name)
2222
if match: # name is a part table
2323
master = match.group('master')
2424
for j in range(i-1, -1, -1):

0 commit comments

Comments
 (0)