diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 047b23ec..b4863081 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,10 +133,10 @@ jobs: - name: Create the DB run: | - cd iop4site - python manage.py makemigrations - python manage.py makemigrations iop4api - python manage.py migrate --no-input + python iop4site/manage.py makemigrations + python iop4site/manage.py makemigrations iop4api + python iop4site/manage.py migrate --no-input + python iop4site/manage.py loaddata $HOME/.iop4data/testcatalog.yaml ls -lh $HOME/.iop4data/ - name: Run iop4 on the test data diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3360563c..9e3cf6a2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -72,10 +72,10 @@ jobs: - name: Create the DB run: | - cd iop4site - python manage.py makemigrations - python manage.py makemigrations iop4api - python manage.py migrate --no-input + python iop4site/manage.py makemigrations + python iop4site/manage.py makemigrations iop4api + python iop4site/manage.py migrate --no-input + python iop4site/manage.py loaddata $HOME/.iop4data/testcatalog.yaml ls -lh $HOME/.iop4data/ - name: Run iop4 on the test data diff --git a/docs/recipes/02_database_queries.py b/docs/recipes/02_database_queries.py index 1e26e48b..4a33331f 100644 --- a/docs/recipes/02_database_queries.py +++ b/docs/recipes/02_database_queries.py @@ -9,6 +9,8 @@ # %% [markdown] # Configure IOP4 and logging (see examples) # %% +# %autoawait off +# %matplotlib inline # %run 01_notebook_configuration.py # %% [markdown] diff --git a/docs/recipes/03_manual_reduction.py b/docs/recipes/03_manual_reduction.py index e29815bc..28072230 100644 --- a/docs/recipes/03_manual_reduction.py +++ b/docs/recipes/03_manual_reduction.py @@ -8,6 +8,8 @@ # what `iop4.py` does when launched from the command line. # %% +# %autoawait off +# %matplotlib inline # %run 01_notebook_configuration.py # %% [markdown] diff --git a/docs/recipes/04_details_on_astrometric_calibration.py b/docs/recipes/04_details_on_astrometric_calibration.py index 21f76367..b39abed8 100644 --- a/docs/recipes/04_details_on_astrometric_calibration.py +++ b/docs/recipes/04_details_on_astrometric_calibration.py @@ -2,6 +2,8 @@ # # Details on astrometric calibration # %% +# %autoawait off +# %matplotlib inline # %run 01_notebook_configuration.py # %% [markdown] diff --git a/docs/recipes/05_quad_matching_dipol_polarimetry_images.py b/docs/recipes/05_quad_matching_dipol_polarimetry_images.py index 9d817724..74de7576 100644 --- a/docs/recipes/05_quad_matching_dipol_polarimetry_images.py +++ b/docs/recipes/05_quad_matching_dipol_polarimetry_images.py @@ -2,6 +2,8 @@ # # Quad matching in DIPOL polarimetry images # %% +# %autoawait off +# %matplotlib inline # %run 01_notebook_configuration.py # To reduce disk usage, only a central cut of of the full field of the DIPOL diff --git a/pyproject.toml b/pyproject.toml index fd119e51..25ee2b00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,7 @@ doc = [ "nbstripout", "jupytext", "ipykernel", - "sphinx-gallery", + "sphinx-gallery<=0.7.0", "myst-nb", ] dev = [