-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
enhancementIndicates new improvementsIndicates new improvements
Milestone
Description
In the past, the following syntax worked for defining tables:
@schema
class TestScores(dj.Computed):
definition = """
# testing the model across datasets
-> BestModel
test_source -> Source
---
"""
Now, this throws an error TypeError: not enough arguments for format string.
The solution is:
@schema
class TestScores(dj.Computed):
definition = """
# testing the model across datasets
-> BestModel
(test_source) -> Source
---
"""
It would be nice if this would give a more meaningful error message or a deprecation warning. dj.__version__ == '0.8.1'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementIndicates new improvementsIndicates new improvements