Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/apps/ai_spleen_seg_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def __init__(self, *args, **kwargs):
self._logger = logging.getLogger("{}.{}".format(__name__, type(self).__name__))
super().__init__(*args, **kwargs)

def run(self):
def run(self, *args, **kwargs):
# This method calls the base class to run. Can be omitted if simply calling through.
self._logger.debug(f"Begin {self.run.__name__}")
super().run()
super().run(*args, **kwargs)
self._logger.debug(f"End {self.run.__name__}")

def compose(self):
Expand Down
4 changes: 2 additions & 2 deletions examples/apps/ai_unetr_seg_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ def __init__(self, *args, **kwargs):
self._logger = logging.getLogger("{}.{}".format(__name__, type(self).__name__))
super().__init__(*args, **kwargs)

def run(self):
def run(self, *args, **kwargs):
# This method calls the base class to run. Can be omitted if simply calling through.
self._logger.debug(f"Begin {self.run.__name__}")
super().run()
super().run(*args, **kwargs)
self._logger.debug(f"End {self.run.__name__}")

def compose(self):
Expand Down