Skip to content

Commit

Permalink
fix: temporary publish location
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Jul 31, 2023
1 parent 73e4f01 commit 9058663
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/generate-argo-cli-commands-elevation.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def _valid_params(params: Dict[str, str]) -> Tuple[bool, str]:
return (False, "TODO Noted")
return (True, "")

def _tmp_target_edit(target: str) -> str:
return target.replace("s3://linz-elevation/", "s3://linz-workflow-artifacts/linz-elevation/")


with open(PARAMETERS_CSV, "r") as csv_file:
reader = csv.reader(csv_file)
Expand All @@ -77,7 +80,7 @@ def _valid_params(params: Dict[str, str]) -> Tuple[bool, str]:
params = {
"comments": row[index["comments"]],
"source": row[index["source"]],
"target": row[index["target"]],
"target": _tmp_target_edit(row[index["target"]]),
"title": row[index["title"]],
"description": row[index["description"]],
"start-datetime": row[index["startdate"]],
Expand Down

0 comments on commit 9058663

Please sign in to comment.