Skip to content

Commit

Permalink
Rename save functions and add progress bar for run
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMoalic committed Feb 21, 2024
1 parent 7313c57 commit 901caab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ print(job["ref paper"])

- Remove the Google trackers in the GUI.
- Add saving as zarr
- Mostly remove support for OVF1, OVF2, dump, anything that's not zarr.
- Add progress bar for `run`
- Rename the functions to save `.ovf` files as `SaveOvf` and `SaveOvfAs`. You cannot autosave ovf files anymore.
- Add progress bar for `run`, can be turned off with `-magnets=false`
- Reorder GUI elements
- Dark mode GUI
- Check and warns the user for unoptimized mesh
Expand Down
4 changes: 2 additions & 2 deletions engine/save.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
)

func init() {
DeclFunc("OldSave", Save, "Save space-dependent quantity once, with auto filename")
DeclFunc("OldSaveAs", SaveAs, "Save space-dependent quantity with custom filename")
DeclFunc("OvfSave", Save, "Save space-dependent quantity once, with auto filename")
DeclFunc("OvfSaveAs", SaveAs, "Save space-dependent quantity with custom filename")

DeclLValue("FilenameFormat", &fformat{}, "printf formatting string for output filenames.")
DeclLValue("OutputFormat", &oformat{}, "Format for data files: OVF1_TEXT, OVF1_BINARY, OVF2_TEXT or OVF2_BINARY")
Expand Down

0 comments on commit 901caab

Please sign in to comment.