psychoinformatics-de / datalad-tabby

DataLad extension package for the "tabby" dataset metadata specification
Other
1 stars 5 forks source link

Add BP on variable naming (avoid syntax conflict with overrides) #100

Closed mih closed 1 year ago

mih commented 1 year ago

One could come up with column names like checksum[md5]. However, given that this is not a valid variable name in Python, it confuses the override syntax, which uses the Python format language.

We should advise people to avoid that.

On top of that, we could perform some name sanitization. In the case above maybe simply replacing any problematic char with _. It would yield checksum_md5_