-
Notifications
You must be signed in to change notification settings - Fork 192
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
Extend scenario metadata #2037
Extend scenario metadata #2037
Conversation
01abb75
to
b12916e
Compare
f1da575
to
e15df7a
Compare
smarts/sstudio/types/scenario.py
Outdated
@dataclass(frozen=True) | ||
class ScenarioMetadata: | ||
"""Scenario data that does not have influence on simulation.""" | ||
"""Deprecated. Scenario data that does not have influence on simulation.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason we didn't just change this class? I like the original name better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I had changed this already by the time you commented. I forgot to push the updates here. I decided to just use the old name since the way the new class works still acts like the old one.
Something odd is happening with the edit: One of the scenario builds was failing and that resulted |
This PR adds additional information to the metadata. This allows for constrained and unconstrained arguments to be included in the metadata.
I am considering adding additional serialization support.