Skip to content

Commit

Permalink
Better edge metadata error
Browse files Browse the repository at this point in the history
  • Loading branch information
benjeffery authored and mergify[bot] committed Nov 22, 2024
1 parent 8cd494a commit aea14d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion c/tskit/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@ tsk_strerror_internal(int err)
break;
case TSK_ERR_CANT_PROCESS_EDGES_WITH_METADATA:
ret = "Can't squash, flush, simplify or link ancestors with edges that have "
"non-empty metadata. (TSK_ERR_CANT_PROCESS_EDGES_WITH_METADATA)";
"non-empty metadata. Removing the metadata from the edges will allow "
"these operations to proceed. For example using "
"tables.edges.drop_metadata() in the tskit Python API. "
"(TSK_ERR_CANT_PROCESS_EDGES_WITH_METADATA)";
break;

/* Site errors */
Expand Down

0 comments on commit aea14d5

Please sign in to comment.