-
Notifications
You must be signed in to change notification settings - Fork 897
Fix base_of_exclude
handling
#2380
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2380 +/- ##
=======================================
Coverage 99.49% 99.50%
=======================================
Files 322 322
Lines 20106 20146 +40
=======================================
+ Hits 20005 20046 +41
+ Misses 101 100 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
if not primitive_stack_on_self and isinstance(f_primitive, primitive_class): | ||
return False | ||
|
||
if isinstance(f_primitive, tup_primitive_stack_on_exclude): | ||
return False | ||
|
||
# R TODO: handle this |
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.
After discussing with @rwedge, determined that this todo was already completed
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
base_of_exclude
handling #2323check_stacking
function is only called during the generation of aggregation features. This means that features such asbase_of_exclude
andstack_on_exclude
do not work when creating transform features. This PR addresses that bug. It also does some refactoring by moving thestack_on_exclude
attribute and related member data off of AggregationPrimitiveBase and onto PrimitiveBase, seeing as the functionality provided does not need to be unique to AggregationPrimitives.