Skip to content

Commit

Permalink
Update service.py
Browse files Browse the repository at this point in the history
Remove s3_path definition
  • Loading branch information
gfenoy authored Jan 16, 2024
1 parent d2396fb commit 98db414
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions {{cookiecutter.service_name}}/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ def post_execution_hook(self, log, output, usage_report, tool_logs):
logger.info(f"STAC Catalog URI: {output['StacCatalogUri']}")

try:
s3_path = output["StacCatalogUri"]
cat = read_file( s3_path )
cat = read_file( output["StacCatalogUri"] )
cat.describe()
except Exception as e:
logger.error(f"Exception: {e}")
Expand Down

0 comments on commit 98db414

Please sign in to comment.