We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a2e1af commit bc12b11Copy full SHA for bc12b11
LNX-docker-compose.yml
@@ -32,7 +32,7 @@ services:
32
interval: 1s
33
fakeservices.datajoint.io:
34
<<: *net
35
- image: datajoint/nginx:v0.0.17
+ image: datajoint/nginx:v0.0.18
36
environment:
37
- ADD_db_TYPE=DATABASE
38
- ADD_db_ENDPOINT=db:3306
datajoint/utils.py
@@ -44,8 +44,8 @@ def get_master(full_table_name):
44
`ephys`.`session` -- master
45
`ephys`.`session__recording` -- part
46
"""
47
- master, *part = full_table_name.split('__')
48
- return master + '`' if part else ""
+ match = re.match(r'(?P<master>`\w+`.`\w+)__(?P<part>\w+)`', full_table_name)
+ return match['master'] + '`' if match else ''
49
50
51
def to_camel_case(s):
0 commit comments