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

Make instantiation of Grounder more flexible #130

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Feb 5, 2024

This PR adds the ability to add any kind of iterable as the argument to gilda.Grounder instead of limiting to just lists. This is useful since there are several functions in various places that generate iterables of Gilda Term objects that would be convenient to directly stick in a Grounder without having to cast to a list. This PR also adds some tests to check all of the various ways a Grounder can be instantiated

@bgyori bgyori merged commit f336ebe into master Feb 6, 2024
4 checks passed
@bgyori bgyori deleted the grounder-input branch February 6, 2024 01:33
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