Browse Source

removed saving test data

master
Holger Frey 6 years ago
parent
commit
c2eadaf4ed
  1. 4
      mtor/__init__.py
  2. 2
      mtor/workflows.py

4
mtor/__init__.py

@ -14,7 +14,7 @@ warnings.filterwarnings("ignore")
__version__ = "0.1.0" __version__ = "0.1.0"
def run(): def run_test():
#pw = prescan_workflow("mtor-bilder", 50, 725 + 150, 300, 725) #pw = prescan_workflow("mtor-bilder", 50, 725 + 150, 300, 725)
pw = prescan_workflow("mtor-bilder-2", 125, 795, 275, 700) pw = prescan_workflow("mtor-bilder-2", 125, 795, 275, 700)
iw = image_workflow(pw.parameters) iw = image_workflow(pw.parameters)
@ -22,7 +22,7 @@ def run():
fw = postprocessing_workflow(dw.data, dw.parameters) # noqa: F841 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-2") # noqa: F841
dw = cached_data_workflow("mtor-bilder") # noqa: F841 dw = cached_data_workflow("mtor-bilder") # noqa: F841
# postprocessing_workflow(dw.data, dw.parameters) # noqa: F841 # postprocessing_workflow(dw.data, dw.parameters) # noqa: F841

2
mtor/workflows.py

@ -58,7 +58,7 @@ def data_workflow(stats_results, parameters):
print("3/5: Data analysis") print("3/5: Data analysis")
set_plotting_styles() set_plotting_styles()
data_frame = construct_data_frame(stats_results, parameters) 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) find_guard_threshold(data_frame, parameters)
data_frame = check_guards(data_frame, parameters) data_frame = check_guards(data_frame, parameters)

Loading…
Cancel
Save