Skip to content

Commit

Permalink
Merge pull request #262 from pgrigorev/nglview_fix
Browse files Browse the repository at this point in the history
DOC: fixes the interactive visualisations
  • Loading branch information
pastewka authored Jul 24, 2024
2 parents a9b8710 + 7eac2a8 commit be9ac29
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/applications/cylinder_configurations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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`."
Expand Down Expand Up @@ -724,7 +724,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 -------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ase>=3.16.0
sphinx_rtd_theme
jupytext
sphinxcontrib-spelling
nglview==3.1.2
nglview==3.0.8
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ test = [
docs = [
"sphinx",
"myst_nb",
"nglview",
"numpydoc",
"atomman",
"ovito",
Expand All @@ -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"
Expand Down
8 changes: 8 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@
"config:recommended"
]
}
{
"packageRules": [
{
"matchPackagePatterns": ["nglview"],
"dependencyDashboardApproval": true
}
]
}

0 comments on commit be9ac29

Please sign in to comment.