Skip to content

Commit

Permalink
scripts updated to databrowser name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Jun 18, 2024
1 parent d22f748 commit ff21fc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion simscripts/00-Jobs.cosh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// note: br is browser

func OpenJobs(path string) {
tv := br.NewTabTable("Jobs")
tv := br.NewTabTensorTable("Jobs")
dt := tv.Table.Table
JobsTableView = tv
JobsTable = dt
Expand Down Expand Up @@ -44,5 +44,7 @@ UpdateFunc = func() {
OpenJobs(Config.Version)
}

fmt.Println(Config.Version)

OpenJobs(Config.Version)

2 changes: 1 addition & 1 deletion simscripts/50-Results.cosh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func OpenResultFiles(jobs []string, filter FilterResults) {
core.MessageSnackbar(br, "No files containing: " + filter.FileContains + " with extension: " + filter.Ext)
return
}
ResultsTableView = br.NewTabTableView("Results", &Results)
ResultsTableView = br.NewTabTable("Results", &Results)
br.Update()
}

Expand Down
2 changes: 1 addition & 1 deletion simscripts/65-Reset.cosh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

func ResetResults() {
Results = []*Result{}
br.NewTabTableView("Results", &Results)
br.NewTabTable("Results", &Results)
br.Update()
}

Expand Down

0 comments on commit ff21fc6

Please sign in to comment.