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

Clarify error message for dynamic capture of compartment #1211

Open
kylebaron opened this issue Jul 10, 2024 · 0 comments
Open

Clarify error message for dynamic capture of compartment #1211

kylebaron opened this issue Jul 10, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@kylebaron
Copy link
Collaborator

kylebaron commented Jul 10, 2024

Currently says item doesn't exist, which could be confusing. Could / should read that the compartment isn't a user-defined variable in the model.

> mod  <- mread_yaml("foo.yaml", capture = "KAi,VCi,RESP")
 - item `RESP` does not exist in model `housemodel-xport_cpp`
Error: all requested `capture` variables must exist in the model
@kylebaron kylebaron self-assigned this Sep 21, 2024
@kylebaron kylebaron moved this to Backlog in Development Sep 21, 2024
@kylebaron kylebaron added this to the Next version milestone Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant