From 009fe53ea5a3b59d4b1432b6a3c9080c537291d3 Mon Sep 17 00:00:00 2001 From: "M. Zain Sohail" Date: Mon, 16 Oct 2023 17:45:22 +0200 Subject: [PATCH] update tutorials --- .github/workflows/autodoc_tutorials.yml | 4 ++-- .../mpes_sed_benchmarks.ipynb | 0 ...rsion Pipeline for example time-resolved ARPES data.ipynb} | 0 ...pynb => 3 - Metadata collection and export to NeXus.ipynb} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename tutorial/2 - Binning of example time-resolved ARPES data.ipynb => benchmarks/mpes_sed_benchmarks.ipynb (100%) rename tutorial/{3 - Conversion Pipeline for example time-resolved ARPES data.ipynb => 2 - Conversion Pipeline for example time-resolved ARPES data.ipynb} (100%) rename tutorial/{4 - Metadata collection and export to NeXus.ipynb => 3 - Metadata collection and export to NeXus.ipynb} (100%) diff --git a/.github/workflows/autodoc_tutorials.yml b/.github/workflows/autodoc_tutorials.yml index d3c5f0f2..9c15fbb3 100644 --- a/.github/workflows/autodoc_tutorials.yml +++ b/.github/workflows/autodoc_tutorials.yml @@ -24,13 +24,13 @@ jobs: - name: Install jupyter run: poetry install -E notebook - + # Execute and convert notebooks - name: execute notebooks run: find $GITHUB_WORKSPACE/tutorial -type f -name "*.ipynb" -exec poetry run jupyter-nbconvert --execute --to notebook --inplace {} \; - name: convert notebooks to rst and save to docs - run: find $GITHUB_WORKSPACE/ttutorial -type f -name "*.ipynb" -exec poetry run jupyter-nbconvert --to rst --output-dir $GITHUB_WORKSPACE/tdocs/tutorial {} \; + run: find $GITHUB_WORKSPACE/tutorial -type f -name "*.ipynb" -exec poetry run jupyter-nbconvert --to rst --output-dir $GITHUB_WORKSPACE/tdocs/tutorial {} \; - name: Commit changes uses: EndBug/add-and-commit@v9 diff --git a/tutorial/2 - Binning of example time-resolved ARPES data.ipynb b/benchmarks/mpes_sed_benchmarks.ipynb similarity index 100% rename from tutorial/2 - Binning of example time-resolved ARPES data.ipynb rename to benchmarks/mpes_sed_benchmarks.ipynb diff --git a/tutorial/3 - Conversion Pipeline for example time-resolved ARPES data.ipynb b/tutorial/2 - Conversion Pipeline for example time-resolved ARPES data.ipynb similarity index 100% rename from tutorial/3 - Conversion Pipeline for example time-resolved ARPES data.ipynb rename to tutorial/2 - Conversion Pipeline for example time-resolved ARPES data.ipynb diff --git a/tutorial/4 - Metadata collection and export to NeXus.ipynb b/tutorial/3 - Metadata collection and export to NeXus.ipynb similarity index 100% rename from tutorial/4 - Metadata collection and export to NeXus.ipynb rename to tutorial/3 - Metadata collection and export to NeXus.ipynb