You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both hyRefactor and hyAggregate have an aggregate_network function. I think there are two solutions to provide more clarity.
Since hyRefactor is a hyAggregate dependency, the point based aggregation workflow could be moved to hyAggregate and the aggregation driven by the input parameters. This would result in a signature like:
Or, the functions could be renamed to something like: aggregate_network_to_distribution and aggregate_network_to_outlets and either remain in the separate packages, or, consolidate into hyAggregate.
Do you have any thoughts?
Mike
The text was updated successfully, but these errors were encountered:
mikejohnson51
changed the title
Conflicting names
Conflicting function names for aggregation
Jun 8, 2022
I agree - next time we talk this would be any interesting point to discuss. The hyAggregate dependency list has bloated a bit to support nextgen specific tasks. It might be time to bring hyRelease back into the mix...
Either way, you want me to bring the hyRefactor function over or do you want to submit a PR? I have a big push coming this week so there is no urgency.
Both
hyRefactor
andhyAggregate
have anaggregate_network
function. I think there are two solutions to provide more clarity.Since
hyRefactor
is ahyAggregate
dependency, the point based aggregation workflow could be moved tohyAggregate
and the aggregation driven by the input parameters. This would result in a signature like:Or, the functions could be renamed to something like:
aggregate_network_to_distribution
andaggregate_network_to_outlets
and either remain in the separate packages, or, consolidate intohyAggregate
.Do you have any thoughts?
Mike
The text was updated successfully, but these errors were encountered: