Skip to content

Commit 3a466f8

Browse files
committed
Consistent names for ROI loading / saving functions
1 parent c959aca commit 3a466f8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/imcflibs/imagej/roimanager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def count_all_rois(rm):
5050
return number_of_rois
5151

5252

53-
def save_rois(rm, target, selected_rois=None):
54-
"""Save selected ROIs in the RoiManager as zip to target path.
53+
def save_rois_to_zip(rm, target, selected_rois=None):
54+
"""Save selected ROIs in the RoiManager as zip to the target path.
5555
5656
Parameters
5757
----------
@@ -159,7 +159,7 @@ def measure_in_all_rois(imp, channel, rm):
159159
rm.runCommand(imp, "Measure")
160160

161161

162-
def open_rois_from_zip(rm, path):
162+
def load_rois_from_zip(rm, path):
163163
"""Load ROIs from the given zip file and add them to the RoiManager.
164164
165165
Parameters

0 commit comments

Comments
 (0)