Skip to content

Commit 202db67

Browse files
authored
Merge pull request #79 from lguerard/omerotools_fix
Rename methods and fix docstrings
2 parents ef80a60 + 570d1b6 commit 202db67

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/imcflibs/imagej/omerotools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def upload_image_to_omero(user_client, path, dataset_id):
178178
return user_client.getDataset(Long(dataset_id)).importImage(user_client, path)[0]
179179

180180

181-
def add_annotation(client, repository_wpr, annotations, header):
181+
def add_keyvalue_annotation(client, repository_wpr, annotations, header):
182182
"""Add an annotation to an OMERO object.
183183
184184
Parameters
@@ -234,7 +234,7 @@ def find_dataset(client, dataset_id):
234234

235235

236236
def get_acquisition_metadata(user_client, image_wpr):
237-
"""Get acquisition metadata from OMERO based on an image ID.
237+
"""Get acquisition metadata from OMERO based on an image wrapper.
238238
239239
Parameters
240240
----------
@@ -324,7 +324,7 @@ def get_info_from_original_metadata(user_client, image_wpr, field):
324324

325325

326326
def create_table_columns(headings):
327-
"""Create OMERO table headings from an ImageJ results table.
327+
"""Create OMERO table headings from a list of column names.
328328
329329
Parameters
330330
----------

0 commit comments

Comments
 (0)