diff --git a/mtor/__init__.py b/mtor/__init__.py index 359cf2b..4b53b1f 100644 --- a/mtor/__init__.py +++ b/mtor/__init__.py @@ -14,7 +14,7 @@ warnings.filterwarnings("ignore") __version__ = "0.1.0" -def run(): +def run_test(): #pw = prescan_workflow("mtor-bilder", 50, 725 + 150, 300, 725) pw = prescan_workflow("mtor-bilder-2", 125, 795, 275, 700) iw = image_workflow(pw.parameters) @@ -22,7 +22,7 @@ def run(): fw = postprocessing_workflow(dw.data, dw.parameters) # noqa: F841 -def run_data(): +def run_data_test(): dw = cached_data_workflow("mtor-bilder-2") # noqa: F841 dw = cached_data_workflow("mtor-bilder") # noqa: F841 # postprocessing_workflow(dw.data, dw.parameters) # noqa: F841 diff --git a/mtor/workflows.py b/mtor/workflows.py index a9694d0..a8aeaf1 100644 --- a/mtor/workflows.py +++ b/mtor/workflows.py @@ -58,7 +58,7 @@ def data_workflow(stats_results, parameters): print("3/5: Data analysis") set_plotting_styles() data_frame = construct_data_frame(stats_results, parameters) - save_temp(data_frame, parameters) + # save_temp(data_frame, parameters) # enable this for the main run_test_data find_guard_threshold(data_frame, parameters) data_frame = check_guards(data_frame, parameters)