Skip to content

Commit

Permalink
try again to upload now with proper file path
Browse files Browse the repository at this point in the history
  • Loading branch information
FriederikeHanssen committed Nov 28, 2023
1 parent fa06b87 commit 62fc529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ncbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
if: ${{ matrix.enabled }}
with:
# TODO: download all vcfs
source: s3://nf-core-awsmegatests/sarek/results-test-59026dc07633edb83aab3bfb2f65f79db38437a1/test_full/variant_calling/strelka
source: s3://nf-core-awsmegatests/sarek/results-test-59026dc07633edb83aab3bfb2f65f79db38437a1/test_full/variant_calling
command: sync
aws_region: eu-west-1
destination: ./variant_calling
flags: --no-sign-request --include ".vcf.gz" --exclude "g.vcf.gz"

- name: list files
run: |
ls variant_calling/
ls variant_calling/strelka/HCC1395N/
- name: Install requests
run: pip install requests # version pinning?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
url = f"https://zenodo.org/api/deposit/depositions?access_token={access_token}"

filename = "*.vcf.gz"
path = "../../../variant_calling/%s" % filename
path = "variant_calling/strelka/HCC1395N/%s" % filename

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

0 comments on commit 62fc529

Please sign in to comment.