Loading src/ips_fastran_gui/app/models/plotter.py +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ class PlotFastran: self.input_params = input_params def load_fastran(self, fn_ncfile: Path) -> None: print(fn_ncfile) # TODO: remove fn_ncfile = Path("test.nc") # TODO: remove self.fastran = netCDF4.Dataset(fn_ncfile, "r", format="NETCDF4") self.basename = os.path.basename(fn_ncfile) Loading src/ips_fastran_gui/app/views/tab_content_panel.py +1 −1 Original line number Diff line number Diff line Loading @@ -30,5 +30,5 @@ class TabContentPanel: ResourcesTab() with vuetify.VWindowItem(value=2): ExecutionTab() with vuetify.VWindowItem(value=3, classes="h-100", eager=True): with vuetify.VWindowItem(value=3, classes="h-100"): ResultsTab(self.view_model) src/ips_fastran_gui/app/views/tabs/results_tab.py +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ class ResultsTab: InputField("config.result_file", items=("config.result_files",), type="autocomplete") vuetify.VBtn("Render Data", click=self.view_model.update_figure) code.Editor( ref="plot_config", model_value=("plot_json",), classes="flex-1-0 h-100 w-100", language="json", Loading src/ips_fastran_gui/app/views/tabs_panel.py +8 −1 Original line number Diff line number Diff line Loading @@ -17,4 +17,11 @@ class TabsPanel: vuetify.VTab("IPS Fastran Configuration", value=0) vuetify.VTab("Run Configuration", value=1) vuetify.VTab("Job Execution", value=2) vuetify.VTab("Results", value=3, disabled=("state.results_disabled",)) vuetify.VTab( "Results", value=3, disabled=("state.results_disabled",), # Monaco requires this when the editor isn't in the initial view. # plot_config corresponds to the ref passed to code.Editor click="window.trame.refs.plot_config.editor.layout();", ) Loading
src/ips_fastran_gui/app/models/plotter.py +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ class PlotFastran: self.input_params = input_params def load_fastran(self, fn_ncfile: Path) -> None: print(fn_ncfile) # TODO: remove fn_ncfile = Path("test.nc") # TODO: remove self.fastran = netCDF4.Dataset(fn_ncfile, "r", format="NETCDF4") self.basename = os.path.basename(fn_ncfile) Loading
src/ips_fastran_gui/app/views/tab_content_panel.py +1 −1 Original line number Diff line number Diff line Loading @@ -30,5 +30,5 @@ class TabContentPanel: ResourcesTab() with vuetify.VWindowItem(value=2): ExecutionTab() with vuetify.VWindowItem(value=3, classes="h-100", eager=True): with vuetify.VWindowItem(value=3, classes="h-100"): ResultsTab(self.view_model)
src/ips_fastran_gui/app/views/tabs/results_tab.py +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ class ResultsTab: InputField("config.result_file", items=("config.result_files",), type="autocomplete") vuetify.VBtn("Render Data", click=self.view_model.update_figure) code.Editor( ref="plot_config", model_value=("plot_json",), classes="flex-1-0 h-100 w-100", language="json", Loading
src/ips_fastran_gui/app/views/tabs_panel.py +8 −1 Original line number Diff line number Diff line Loading @@ -17,4 +17,11 @@ class TabsPanel: vuetify.VTab("IPS Fastran Configuration", value=0) vuetify.VTab("Run Configuration", value=1) vuetify.VTab("Job Execution", value=2) vuetify.VTab("Results", value=3, disabled=("state.results_disabled",)) vuetify.VTab( "Results", value=3, disabled=("state.results_disabled",), # Monaco requires this when the editor isn't in the initial view. # plot_config corresponds to the ref passed to code.Editor click="window.trame.refs.plot_config.editor.layout();", )