From ff21fc6024fe34911fa9c023fbf3629316cdc870 Mon Sep 17 00:00:00 2001 From: "Randall C. O'Reilly" Date: Tue, 18 Jun 2024 02:47:57 -0700 Subject: [PATCH] scripts updated to databrowser name changes --- simscripts/00-Jobs.cosh | 4 +++- simscripts/50-Results.cosh | 2 +- simscripts/65-Reset.cosh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/simscripts/00-Jobs.cosh b/simscripts/00-Jobs.cosh index 018c8b305..aa1ca506f 100644 --- a/simscripts/00-Jobs.cosh +++ b/simscripts/00-Jobs.cosh @@ -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 @@ -44,5 +44,7 @@ UpdateFunc = func() { OpenJobs(Config.Version) } +fmt.Println(Config.Version) + OpenJobs(Config.Version) diff --git a/simscripts/50-Results.cosh b/simscripts/50-Results.cosh index f93ba41c8..dd4f4bade 100644 --- a/simscripts/50-Results.cosh +++ b/simscripts/50-Results.cosh @@ -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() } diff --git a/simscripts/65-Reset.cosh b/simscripts/65-Reset.cosh index cac3c1799..f0a59229c 100644 --- a/simscripts/65-Reset.cosh +++ b/simscripts/65-Reset.cosh @@ -2,7 +2,7 @@ func ResetResults() { Results = []*Result{} - br.NewTabTableView("Results", &Results) + br.NewTabTable("Results", &Results) br.Update() }