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

Fix transformation returned by cascading delete #92

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Conversation

kris-brown
Copy link
Collaborator

This function recursively deletes parts from an ACSet and returns the data of an ACSetTransformation X_new -> X_old. There was a bug that made this sometimes return unnatural transformations for at least the DDS schema, which is now addressed (with some tests added for DDS).

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1a2683c) 90.58% compared to head (2662d16) 90.67%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
+ Coverage   90.58%   90.67%   +0.09%     
==========================================
  Files          22       22              
  Lines        2060     2059       -1     
==========================================
+ Hits         1866     1867       +1     
+ Misses        194      192       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@epatters epatters left a comment

Choose a reason for hiding this comment

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

Thanks Kris!

test/ACSets.jl Outdated Show resolved Hide resolved
test/ACSets.jl Show resolved Hide resolved
@epatters epatters changed the title Fix delete_subobj! function Fix transformation returned by cascading delete Dec 11, 2023
@epatters epatters added the bug Something isn't working label Dec 11, 2023
@epatters epatters merged commit 813a4e1 into main Dec 11, 2023
9 checks passed
@epatters epatters deleted the fix_del_subobj branch December 11, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants