From 76159ae22539e38923712e487371a5f32d7cb3cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20K=C3=B6ster?= Date: Wed, 30 Mar 2022 12:33:54 +0200 Subject: [PATCH] docs: zenodo example --- docs/snakefiles/remote_files.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/snakefiles/remote_files.rst b/docs/snakefiles/remote_files.rst index 806883162..ec2fc5adb 100644 --- a/docs/snakefiles/remote_files.rst +++ b/docs/snakefiles/remote_files.rst @@ -26,6 +26,7 @@ Snakemake includes the following remote providers, supported by the correspondin * GridFTP: ``snakemake.remote.gridftp`` * iRODS: ``snakemake.remote.iRODS`` * EGA: ``snakemake.remote.EGA`` +* Zenodo: ``snakemake.remote.zenodo`` * AUTO: an automated remote selector Amazon Simple Storage Service (S3) @@ -811,6 +812,7 @@ Zenodo UI and REST API responses were designed with having in mind uploads of a Avoid creating uploads with too many files, and instead group and zip them to make it easier their distribution to end-users. .. code-block:: python + from snakemake.remote.zenodo import RemoteProvider import os @@ -818,7 +820,7 @@ Avoid creating uploads with too many files, and instead group and zip them to ma envvars: "MYZENODO_PAT" - access_token=os.environ["MYZENODO_PAT"] + access_token = os.environ["MYZENODO_PAT"] zenodo = RemoteProvider(deposition="your deposition id", access_token=access_token) rule upload: