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

Need YAML save option for simulator #230

Open
ConnorStoneAstro opened this issue Jul 4, 2024 · 2 comments
Open

Need YAML save option for simulator #230

ConnorStoneAstro opened this issue Jul 4, 2024 · 2 comments
Labels
feat Features: Introduces a new feature to the codebase

Comments

@ConnorStoneAstro
Copy link
Member

Should be able to run sim.save() to save the whole state of a simulator (static params, etc).

@ConnorStoneAstro ConnorStoneAstro added the feat Features: Introduces a new feature to the codebase label Jul 4, 2024
@ConnorStoneAstro
Copy link
Member Author

Maybe have save create a directory and dump everything in there. Keep YAML format, make sure every parameter (ie image) is saved outside the yaml.

@ConnorStoneAstro
Copy link
Member Author

In the simulator class have save and load methods. Could make it so that __new__ is call on load so that the correct object is returned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Features: Introduces a new feature to the codebase
Projects
None yet
Development

No branches or pull requests

1 participant