From 518ba33fef9208a1dd1c1826c483092bde00dc28 Mon Sep 17 00:00:00 2001 From: Petr Grigorev Date: Wed, 24 Jul 2024 19:10:38 +0200 Subject: [PATCH 1/4] DOC: revert nglview back to version 3.0.8 --- docs/requirements.txt | 2 +- pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 7cc5cbcc7..65129924a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,4 +3,4 @@ ase>=3.16.0 sphinx_rtd_theme jupytext sphinxcontrib-spelling -nglview==3.1.2 +nglview==3.0.8 diff --git a/pyproject.toml b/pyproject.toml index 4381a5a78..6b90aa98d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,6 @@ test = [ docs = [ "sphinx", "myst_nb", - "nglview", "numpydoc", "atomman", "ovito", @@ -50,7 +49,7 @@ docs = [ "sphinxcontrib-spelling", "pydata-sphinx-theme", "jupytext", - "nglview==3.1.2" # resolves https://github.com/libAtoms/matscipy/issues/222 + "nglview==3.0.8" # resolves https://github.com/libAtoms/matscipy/issues/222 ] cli = [ "argcomplete" From 272c1638070119db51d26fa51dd43c465d9dee58 Mon Sep 17 00:00:00 2001 From: Petr Grigorev Date: Wed, 24 Jul 2024 19:11:18 +0200 Subject: [PATCH 2/4] DOC: increase cell execution timout to 60s --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index c27f922dd..21d773218 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -284,7 +284,7 @@ # Raise Error (not default Warning) when a notebook execution fails # (due to code error, timeout, etc.) nb_execution_raise_on_error = True - +nb_execution_timeout = 60 # -- Extension configuration ------------------------------------------------- From b242d28f15f93878a9188db3d075444df21902f1 Mon Sep 17 00:00:00 2001 From: Petr Grigorev Date: Wed, 24 Jul 2024 19:11:49 +0200 Subject: [PATCH 3/4] added setting for renovate.bot for nglview --- renovate.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/renovate.json b/renovate.json index 5db72dd6a..72ddd8cb1 100644 --- a/renovate.json +++ b/renovate.json @@ -4,3 +4,11 @@ "config:recommended" ] } +{ + "packageRules": [ + { + "matchPackagePatterns": ["nglview"], + "dependencyDashboardApproval": true + } + ] +} \ No newline at end of file From 7eac2a8f940b88696191b284c02d4421c504fbe4 Mon Sep 17 00:00:00 2001 From: Petr Grigorev Date: Wed, 24 Jul 2024 19:13:41 +0200 Subject: [PATCH 4/4] DOC: fixed typo for dissociated dislocations --- docs/applications/cylinder_configurations.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/applications/cylinder_configurations.ipynb b/docs/applications/cylinder_configurations.ipynb index 933344ce5..feff89180 100644 --- a/docs/applications/cylinder_configurations.ipynb +++ b/docs/applications/cylinder_configurations.ipynb @@ -473,7 +473,7 @@ "Due to stable Intrinsic Stacking Fault (ISF) the 1/2<110> dislocations are not stable and dissociate in two 1/6<112> Shockley partials separated by stacking fault. For example:\n", "\n", "$$\n", - " \\frac{1}{2}[1\\bar10] \\rightarrow \\frac{1}{6}[2\\bar1\\bar1] + \\mathrm{ISF} + \\frac{1}{2}[1\\bar21]\n", + " \\frac{1}{2}[1\\bar10] \\rightarrow \\frac{1}{6}[2\\bar1\\bar1] + \\mathrm{ISF} + \\frac{1}{6}[1\\bar21]\n", "$$\n", "\n", "where ISF is intrinsic stacking fault. It is possible to pass a parameter `partial_distance` to `build_cylinder()` function in order to create dissociated dislocation. `partial distance` defines separation distance (length of the stacking fault) of two partial dislocations. The value corresponds to number of glide distances the distance in Angstrom be obtaines as `patial_distance * dislocation.glide_distance`." @@ -724,7 +724,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.12.4" } }, "nbformat": 4,