Skip to content

Commit

Permalink
adding a passthrough for get_images to make the doc function work as …
Browse files Browse the repository at this point in the history
…advertised.
  • Loading branch information
Robbie1977 authored Sep 19, 2023
1 parent 7f414d3 commit 025882c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/vfb_connect/cross_server_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,16 @@ def get_vfb_link(self, short_forms: iter, template):
else:
return self.vfb_base + short_forms.pop() + "&i=" + dc[0]['t.short_form'] + ',' + ','.join(short_forms)

def get_images(self, *args, **kwargs):
"""
This is a passthrough function to call the get_images method in the neo_query_wrapper.
:param args: Positional arguments to be passed to the neo_query_wrapper's get_images method.
:param kwargs: Keyword arguments to be passed to the neo_query_wrapper's get_images method.
:return: The return value from the neo_query_wrapper's get_images method.
"""
return self.neo_query_wrapper.get_images(*args, **kwargs)

def get_images_by_type(self, class_expression, template, image_folder,
image_type='swc', query_by_label=True, direct=False, stomp=False):
"""Download all images of individuals specified by a class expression, e.g. all images of the nodulus
Expand Down

0 comments on commit 025882c

Please sign in to comment.