Skip to content

Commit f09aa12

Browse files
Sebastien Herbertehrenfeu
authored andcommitted
Add Fresh Start command description
1 parent ec442a8 commit f09aa12

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/imcflibs/imagej/misc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def setup_clean_ij_environment(rm=None, rt=None): # pylint: disable-msg=unused-
202202
203203
Clean active results table, roi manager and log, close any open image.
204204
205-
TODO: add link to docs / post / commit explaining the "Fresh Start" command!
205+
"Fresh Start" is described here: https://imagej.nih.gov/ij/notes.html following this suggestion: https://forum.image.sc/t/fresh-start-macro-command-in-imagej-fiji/43102
206206
207207
Parameters
208208
----------
@@ -212,9 +212,9 @@ def setup_clean_ij_environment(rm=None, rt=None): # pylint: disable-msg=unused-
212212
Will be ignored (kept for keeping API compatibility).
213213
"""
214214

215-
prefs.fix_ij_options()
216-
217215
IJ.run("Fresh Start", "")
218216
IJ.log("\\Clear")
219217

218+
prefs.fix_ij_options()
219+
220220
return

0 commit comments

Comments
 (0)