From fba6fa5dd2f997da9b02929aa117d0d6d603fd4c Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Mon, 29 Jan 2024 15:27:42 +0100 Subject: [PATCH] More info in generic template --- ...b32f6992-0355-4759-b780-ececd4957c23.ipynb | 37 ++++++++++++++++++- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/templates/notebook/b32f6992-0355-4759-b780-ececd4957c23.ipynb b/templates/notebook/b32f6992-0355-4759-b780-ececd4957c23.ipynb index 4aadfb1..e050651 100644 --- a/templates/notebook/b32f6992-0355-4759-b780-ececd4957c23.ipynb +++ b/templates/notebook/b32f6992-0355-4759-b780-ececd4957c23.ipynb @@ -5,7 +5,8 @@ "id": "803f7b636cfa4b4c", "metadata": {}, "source": [ - "# {{ TEMPLATE_DISPLAY_NAME | capitalize }}" + "# {{ TEMPLATE_DISPLAY_NAME | capitalize }}\n", + "Notebook generated from template '{{ TEMPLATE_DISPLAY_NAME }}' version {{ TEMPLATE_VERSION }} (id: `{{ TEMPLATE_ID }}`, time: )." ] }, { @@ -13,7 +14,7 @@ "id": "9e7442fc9ec68975", "metadata": {}, "source": [ - "Notebook generated from template '{{ TEMPLATE_DISPLAY_NAME }}' version {{ TEMPLATE_VERSION }} (id: {{ TEMPLATE_ID }})." + "This notebook downloads selected datasets from SciCat and all files for those datasets." ] }, { @@ -27,6 +28,14 @@ "from scitacean.transfer.sftp import SFTPFileTransfer" ] }, + { + "cell_type": "markdown", + "id": "d0336f3a7a2d37eb", + "metadata": {}, + "source": [ + "Scicat configuration:" + ] + }, { "cell_type": "code", "execution_count": null, @@ -39,6 +48,14 @@ "file_server_port = {{ FILE_SERVER_PORT | int }}" ] }, + { + "cell_type": "markdown", + "id": "9bdf7ecbf3cd7df", + "metadata": {}, + "source": [ + "Login token for SciCat. If it expires, replace it with a new one obtained from the SciCat web interface." + ] + }, { "cell_type": "code", "execution_count": null, @@ -49,6 +66,14 @@ "scicat_token = {{ SCICAT_TOKEN | quote | je | safe }}" ] }, + { + "cell_type": "markdown", + "id": "590b037151d5a71d", + "metadata": {}, + "source": [ + "Select datasets to downloads:" + ] + }, { "cell_type": "code", "execution_count": null, @@ -61,6 +86,14 @@ "]" ] }, + { + "cell_type": "markdown", + "id": "a3358b891c9c476d", + "metadata": {}, + "source": [ + "Download files to this folder. You may change it freely." + ] + }, { "cell_type": "code", "execution_count": null,