datajoint/datajoint-matlab

`{}` is not supported in attribute comments

Closed this issue · 1 comments

Bug Report

Description

{} is not supported in attribute comments

Reproducibility

%{
# subject information
subject_fullname            : varchar(64)                   # {username}_{subject_nickname}
---
subject_nickname            : varchar(16)                   # nickname
%}

gives error:

>> subject.Subject()

ans = 


Object subject.Subject

Error using mym
The query contains placeholders, but no additional arguments!

Error in dj.Connection/query (line 185)
                mym(self.connId, queryStr, v{:});

Error in dj.internal.Table/create (line 630)
            self.schema.conn.query(sql);

Error in dj.internal.Table/get.plainTableName (line 116)
                self.create

Error in dj.internal.Table/get.tableHeader (line 83)
                self.tableHeader = self.schema.headers(self.plainTableName);

Error in dj.internal.GeneralRelvar/compile (line 676)
                    header = derive(tab.tableHeader);

Error in dj.internal.GeneralRelvar/get.header (line 43)
            header = self.compile;

Error in dj.internal.GeneralRelvar/disp (line 73)
            hdr = self.header;

Fix the issue on the mym side so far: datajoint/mym#80

Matlab side still need a pending fix