Skip to content

Conversation

@adscheevel
Copy link
Collaborator

I've added new functions to element service for string and numeric elements. I've also added a get_parents_all_elements function which is similar to get_parents but instead of taking an element argument, will return parents for all elements in dim.

I've taken a stab at the tests for these new functions. I wrapped all of the string element testing in one function because I add a string function to test and then immediately delete. This seemed better than adding it when the class is created, seemed like it could mess up some other tests.

function will return list of parents by element for all elements
2 functions to get consolidated elements and names
two functions to get numeric elements and names
two new functions to get string elements and names
two functions to return count of numeric and string elements
tests for new numeric and string element functions as well as get_parents_all_elements
rename function to `get_parents_of_all_elements`
update for function rename `get_parents_of_all_elements`
@MariusWirtz
Copy link
Collaborator

Nice work @adscheevel Thanks!

@MariusWirtz MariusWirtz merged commit 30ce764 into cubewise-code:master Aug 30, 2022
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