Skip to content

Commit

Permalink
file path incorrect for variantcalling
Browse files Browse the repository at this point in the history
  • Loading branch information
FriederikeHanssen committed Nov 20, 2023
1 parent 71a4352 commit 26c70d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@

headers = {"Content-Type": "application/json"}
access_token = os.environ["ACCESS_TOKEN"]
workspace_directory = os.environ["GITHUB_WORKSPACE"]

# TODO: replace sandbox link https://zenodo.org/api/deposit/depositions
url = f"https://sandbox.zenodo.org/api/deposit/depositions?access_token={access_token}"

filename = "*.vcf.gz"
path = "../../../variant_calling/%s" % filename
path = "{workspace_directory}/variant_calling/%s" % filename

with open(path, "rb") as fp:
r = requests.post(
Expand Down

0 comments on commit 26c70d2

Please sign in to comment.