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

Use __main__

parent 0985d669
No related branches found
No related tags found
No related merge requests found
...@@ -626,13 +626,13 @@ def setup_defined_ij(rm, rt): ...@@ -626,13 +626,13 @@ def setup_defined_ij(rm, rt):
IJ.log("\\Clear") IJ.log("\\Clear")
execution_start_time = time.time() # ─── Main Code ────────────────────────────────────────────────────────────────
if __name__ == "__main__":
execution_start_time = time.time()
IJ.log("\\Clear")
misc.timed_log("Script starting")
setup_defined_ij(rm, rt) setup_defined_ij(rm, rt)
print rt.size()
# open image using Bio-Formats
path_to_image = fix_ij_dirs(path_to_image) path_to_image = fix_ij_dirs(path_to_image)
raw = open_image_with_BF(path_to_image) raw = open_image_with_BF(path_to_image)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment