Skip to content

Commit

Permalink
bugfix position to provide token
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasprobst committed Aug 26, 2024
1 parent 5fae466 commit a278614
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions docs/colab/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"from h5rdmtoolbox.repository import zenodo\n",
"from h5rdmtoolbox.tutorial import TutorialConventionZenodoRecordID\n",
"\n",
"import os\n",
"os.environ['ZENODO_API_TOKEN'] = 'changeme'\n",
"\n",
"zenodo_repo = zenodo.ZenodoRecord(TutorialConventionZenodoRecordID)\n",
"cv = h5tbx.convention.from_repo(zenodo_repo, 'tutorial_convention.yaml')"
]
Expand All @@ -66,16 +69,6 @@
"Another important step is defining the expected layout of a file. For this simple example, we \"only\" want to require users to provide the attribute \"units\" with every dataset:"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"os.environ['ZENODO_API_TOKEN'] = 'changeme'"
]
},
{
"cell_type": "code",
"execution_count": 5,
Expand Down

0 comments on commit a278614

Please sign in to comment.