Skip to content

Commit daf6c36

Browse files
committed
Improve error message: 'Conflicting lineage in attribute'
1 parent 9048279 commit daf6c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/condition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def assert_join_compatibility(expr1, expr2):
163163
# None lineages are never homologous (not even with each other)
164164
if lineage1 is None or lineage2 is None or lineage1 != lineage2:
165165
raise DataJointError(
166-
f"Mismatched attribute '{attr}' has no matching lineage. "
166+
f"Conflicting lineage in attribute '{attr}'. "
167167
f"Use .proj() to rename it in one of the operands."
168168
)
169169

0 commit comments

Comments
 (0)