-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve no-edge-metadata error #3063
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c/tskit/core.c
Outdated
@@ -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 " | |||
"simplification to proceed. For example using " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"simplification and other operations"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went with "these operations".
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3063 +/- ##
=======================================
Coverage 89.86% 89.86%
=======================================
Files 29 29
Lines 32150 32150
Branches 5768 5768
=======================================
Hits 28890 28890
Misses 1859 1859
Partials 1401 1401
Flags with carried forward coverage won't be shown. Click here to find out more.
|
91c5803
to
7f08dc6
Compare
7f08dc6
to
ecc6d33
Compare
To prevent issues like #3057