From ed1e58e88325bd37376dc5fffda766ee4cfa40c0 Mon Sep 17 00:00:00 2001 From: Jacob Brady Date: Mon, 26 Feb 2024 22:32:26 -0500 Subject: [PATCH] prototype edit and check panel --- peakipy/cli/edit.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/peakipy/cli/edit.py b/peakipy/cli/edit.py index 1acb5943..1d50cf98 100644 --- a/peakipy/cli/edit.py +++ b/peakipy/cli/edit.py @@ -42,7 +42,6 @@ from bokeh.palettes import PuBuGn9, Category20, Viridis256, RdGy11, Reds256, YlOrRd9 from peakipy.core import LoadData, read_config, StrucEl -from check_panel import create_check_panel log_style = "overflow:scroll;" log_div = """
%s
""" @@ -719,17 +718,17 @@ def fit_selected(self, event): if self.checkbox_group.active == []: fit_command = f"peakipy fit {self.TEMP_INPUT_CSV} {self.data_path} {self.TEMP_OUT_CSV} --lineshape {lineshape}{fix_command}{reference_planes_command}{initial_fit_threshold_command}{xy_bounds_command}" # plot_command = f"peakipy check {self.TEMP_OUT_CSV} {self.data_path} --label --individual --show --outname {self.TEMP_OUT_PLOT / Path('tmp.pdf')}" - self.check_pane = create_check_panel( - self.TEMP_OUT_CSV, self.data_path, edit_panel=True - ) + # self.check_pane = create_check_panel( + # self.TEMP_OUT_CSV, self.data_path, edit_panel=True + # ) # plot_command = f"peakipy-check {self.TEMP_OUT_CSV} {self.data_path}" else: plane_index = self.select_plane.value print(f"[yellow]Only fitting plane {plane_index}[/yellow]") fit_command = f"peakipy fit {self.TEMP_INPUT_CSV} {self.data_path} {self.TEMP_OUT_CSV} --lineshape {lineshape} --plane {plane_index}{fix_command}{reference_planes_command}{initial_fit_threshold_command}{xy_bounds_command}" - self.check_pane = create_check_panel( - self.TEMP_OUT_CSV, self.data_path, edit_panel=True - ) + # self.check_pane = create_check_panel( + # self.TEMP_OUT_CSV, self.data_path, edit_panel=True + # ) # plot_command = f"peakipy check {self.TEMP_OUT_CSV} {self.data_path} --label --individual --outname {self.TEMP_OUT_PLOT / Path('tmp.pdf')} --plane {plane_index} --show" # plot_command = f"peakipy-check {self.TEMP_OUT_CSV} {self.data_path}"