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

Add ComponentSelector feature: PSI portion #1196

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

GabrielKS
Copy link
Contributor

@GabrielKS GabrielKS commented Dec 12, 2024

Companion to and dependent on

. The main thing here is we want get_components to work on IS.Results such that get_components on a Results is like get_available_components on its attached System (or attached IS.SystemData, etc.). The implementation of this behavior is in the IS PR, but following the design set out here, we need to define PSY.get_components aliases that redirect to the appropriate IS.get_components methods to keep the documentation user-friendly. That cannot be done in IS and (correct me if I'm wrong) it doesn't really make sense to do in PSY, so it is done here.

@GabrielKS GabrielKS self-assigned this Dec 12, 2024
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.

1 participant