Skip to content
Snippets Groups Projects
Commit f1996747 authored by Laurent Guerard's avatar Laurent Guerard
Browse files

Switch to python module approach

parent 0bf83759
No related branches found
No related tags found
No related merge requests found
...@@ -131,13 +131,17 @@ def measure_mean_of_rois(imp, channel, rm): ...@@ -131,13 +131,17 @@ def measure_mean_of_rois(imp, channel, rm):
return mean_intensities return mean_intensities
# ─── Main Code ────────────────────────────────────────────────────────────────
execution_start_time = time.time() if __name__ == "__main__":
execution_start_time = time.time()
IJ.log("\\Clear")
misc.timed_log("Script starting") misc.timed_log("Script starting")
setup_defined_ij(rm, rt) setup_defined_ij(rm, rt)
image_file_info = pathtools.parse_path(path_to_image) image_file_info = pathtools.parse_path(path_to_image)
# open image using Bio-Formats
# open image using Bio-Formats
raw = bf.import_image(image_file_info["full"]) raw = bf.import_image(image_file_info["full"])
raw.hide() raw.hide()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment