Skip to content
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

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

benjeffery
Copy link
Member

To prevent issues like #3057

Copy link
Member

@jeromekelleher jeromekelleher left a 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 "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"simplification and other operations"?

Copy link
Member Author

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".

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.86%. Comparing base (8cd494a) to head (ecc6d33).
Report is 1 commits behind head on main.

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           
Flag Coverage Δ
c-tests 86.71% <ø> (ø)
lwt-tests 80.78% <ø> (ø)
python-c-tests 89.05% <ø> (ø)
python-tests 98.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
c/tskit/core.c 95.83% <ø> (ø)
---- 🚨 Try these New Features:

@benjeffery benjeffery added the AUTOMERGE-REQUESTED Ask Mergify to merge this PR label Nov 22, 2024
@mergify mergify bot merged commit aea14d5 into tskit-dev:main Nov 22, 2024
21 checks passed
@mergify mergify bot removed the AUTOMERGE-REQUESTED Ask Mergify to merge this PR label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants