You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing System.to_json method is fine. We are really dumping data to more than just JSON, though. We write time series data to SQLite and Arrow files. It would be good to have a System.save("my_directory") that creates a new directory and saves all files in it. The user could then easily create an achive (.zip/.tar) and share it. We could also consider making the archive file automatic and support deserializing from it.
The text was updated successfully, but these errors were encountered:
List of changes:
- Created a new method `.save` that saves all the content of the system
(.json + time series) to a desired folder,
- Save method can archive the folder to enable easy sharing of the
system,
- Added testing to validate that save in fact creates the folder and
that when we zip it we delete that folder.
Closes#10
pesap
linked a pull request
May 1, 2024
that will
close
this issue
The existing
System.to_json
method is fine. We are really dumping data to more than just JSON, though. We write time series data to SQLite and Arrow files. It would be good to have aSystem.save("my_directory")
that creates a new directory and saves all files in it. The user could then easily create an achive (.zip/.tar) and share it. We could also consider making the archive file automatic and support deserializing from it.The text was updated successfully, but these errors were encountered: