Skip to content

Commit

Permalink
Add generated files to .gitignore (#84)
Browse files Browse the repository at this point in the history
* Add generated files to .gitignore
* Fix formatting in gaas-map
* Format and rewrap .sec files
* Move contribution instructions to the end of the list
* Added new cookbook address
---------

Co-authored-by: Michele Ceriotti <[email protected]>
  • Loading branch information
Luthaf and ceriottm authored Oct 6, 2024
1 parent 8ffc925 commit f0e68e4
Show file tree
Hide file tree
Showing 16 changed files with 61 additions and 69 deletions.
1 change: 1 addition & 0 deletions docs/src/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sg_execution_times.rst
all-examples.rst
3 changes: 1 addition & 2 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# Add any Sphinx extension module names here, as strings.
extensions = [
"sphinx_sitemap",
"sphinx_design",
"sphinx.ext.viewcode",
"sphinx.ext.intersphinx",
"sphinx_gallery.load_style",
Expand Down Expand Up @@ -34,7 +33,7 @@

html_js_files = [
( # plausible.io tracking
"https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.tagged-events.js",
"https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.tagged-events.js", # noqa: E501
{"data-domain": "atomistic-cookbook.org", "defer": "defer"},
),
]
Expand Down
8 changes: 4 additions & 4 deletions docs/src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ then use with conda to create a new environment with all the required dependenci
# when you want to use the environment
conda env activate --name <environment-name>
Additional data needed for each example is usually either downloaded
dynamically, or can be found in a ``data`` folder for each example,
Additional data needed for each example is usually either downloaded
dynamically, or can be found in a ``data`` folder for each example,
or downloaded as a ``data.zip`` file at the end of each recipe in
the website.

Expand All @@ -26,8 +26,8 @@ Table of contents

.. toctree::
:maxdepth: 1

contributing

topics/index
software/index
all-examples
contributing
2 changes: 2 additions & 0 deletions docs/src/software/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.rst
!index.rst
18 changes: 8 additions & 10 deletions docs/src/software/chemiscope.sec
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
chemiscope
==========

Chemiscope is a tool for interactive exploration of databases of
materials and molecules, correlating local and global structural
representations with the properties of the systems.
Chemiscope files can be viewed
`online <https://chemiscope.org/>`_, generated using a
`python library <https://pypi.org/project/chemiscope/>`_ and
used inside jupyter notebooks or sphinx documentations, which
is how it's used in the cookbook examples.
You can check the `documentation <https://chemiscope.org/docs/>`_ and the
`github repository <https://github.com/lab-cosmo/chemiscope>`_.
Chemiscope is a tool for interactive exploration of databases of materials and
molecules, correlating local and global structural representations with the
properties of the systems. Chemiscope files can be viewed `online
<https://chemiscope.org/>`_, generated using a `python library
<https://pypi.org/project/chemiscope/>`_ and used inside jupyter notebooks or
sphinx documentations, which is how it's used in the cookbook examples. You can
check the `documentation <https://chemiscope.org/docs/>`_ and the `github
repository <https://github.com/lab-cosmo/chemiscope>`_.

- examples/roy-gch/roy-gch
- examples/gaas-map/gaas-map
Expand Down
9 changes: 4 additions & 5 deletions docs/src/software/cp2k.sec
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
cp2k
====

CP2K is a quantum chemistry and solid state physics software package
that can perform atomistic simulations of solid state, liquid,
molecular, periodic, material, crystal, and biological systems.
Learn more about it on its
`homepage <https://cp2k.org>`_.
CP2K is a quantum chemistry and solid state physics software package that can
perform atomistic simulations of solid state, liquid, molecular, periodic,
material, crystal, and biological systems. Learn more about it on its `homepage
<https://cp2k.org>`_.

- examples/batch-cp2k/reference-trajectory
13 changes: 6 additions & 7 deletions docs/src/software/i-pi.sec
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
i-PI
====

i-PI is a universal force engine interface written in Python,
designed to be used together with an ab-initio, machine-learned,
or force-field based evaluation of the interactions between the
atoms. You can see learn more about it on the
`ipi-code website <http://ipi-code.org>`_, the
`documentation pages <http://ipi-code.org/i-pi>`_ or
`the github repository <https://github.com/i-pi/i-pi>`_.
i-PI is a universal force engine interface written in Python, designed to be
used together with an ab-initio, machine-learned, or force-field based
evaluation of the interactions between the atoms. You can see learn more about
it on the `ipi-code website <http://ipi-code.org>`_, the `documentation pages
<http://ipi-code.org/i-pi>`_ or `the github repository
<https://github.com/i-pi/i-pi>`_.


- examples/path-integrals/path-integrals
Expand Down
12 changes: 5 additions & 7 deletions docs/src/software/lammps.sec
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
LAMMPS
======

LAMMPS is a classical molecular dynamics (MD) code, with a
focus on materials simulations. It includes a wealth of interatomic
potentials, and of basic and advanced molecular simulations
techniques, and is highly parallelized using an efficient
domain decomposition scheme.
Learn more about LAMMPS on its
`homepage <https://www.lammps.org>`_.
LAMMPS is a classical molecular dynamics (MD) code, with a focus on materials
simulations. It includes a wealth of interatomic potentials, and of basic and
advanced molecular simulations techniques, and is highly parallelized using an
efficient domain decomposition scheme. Learn more about LAMMPS on its `homepage
<https://www.lammps.org>`_.

- examples/path-integrals/path-integrals
- examples/heat-capacity/heat-capacity
18 changes: 8 additions & 10 deletions docs/src/software/plumed.sec
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
PLUMED
======

PLUMED is an open-source, community-developed library that provides
a wide range of different methods, which include enhanced-sampling
algorithms, free-energy methods, tools to analyze the vast amounts
of data produced by molecular dynamics (MD) simulations.
These techniques can be used in combination with a large toolbox of
collective variables that describe complex processes in physics,
chemistry, material science, and biology.
Documentation, examples and installation instructions for the various
packages are discussed on the
`PLUMED website <http://plumed.org>`_.
PLUMED is an open-source, community-developed library that provides a wide range
of different methods, which include enhanced-sampling algorithms, free-energy
methods, tools to analyze the vast amounts of data produced by molecular
dynamics (MD) simulations. These techniques can be used in combination with a
large toolbox of collective variables that describe complex processes in
physics, chemistry, material science, and biology. Documentation, examples and
installation instructions for the various packages are discussed on the `PLUMED
website <http://plumed.org>`_.

- examples/pi-metad/pi-metad
14 changes: 6 additions & 8 deletions docs/src/software/rascaline.sec
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
rascaline
=========

Rascaline is a library for the efficient computing of representations
for atomistic machine learning also called “descriptors” or “fingerprints”.
These representation can be used for atomistic machine learning (ML) models
including ML potentials, visualization or similarity analysis.
You can learn how to use it reading the
`documentation <https://luthaf.fr/rascaline/>`_, and get the latest
version from the
`github repository <https://github.com/Luthaf/rascaline>`_
Rascaline is a library for the efficient computing of representations for
atomistic machine learning also called “descriptors” or “fingerprints”. These
representation can be used for atomistic machine learning (ML) models including
ML potentials, visualization or similarity analysis. You can learn how to use it
reading the `documentation <https://luthaf.fr/rascaline/>`_, and get the latest
version from the `github repository <https://github.com/Luthaf/rascaline>`_

- examples/gaas-map/gaas-map
- examples/lpr/lpr
Expand Down
12 changes: 5 additions & 7 deletions docs/src/software/scikit-matter.sec
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
scikit-matter
=============

scikit-matter is a toolbox of methods developed in the computational chemical
and materials science community, following the scikit-learn API and coding
scikit-matter is a toolbox of methods developed in the computational chemical
and materials science community, following the scikit-learn API and coding
guidelines to promote usability and interoperability with existing workflows.
You can get the latest version from its
`github repository <https://github.com/scikit-learn-contrib/scikit-matter>`_
and learn how to use it from its
`documentation <https://scikit-matter.readthedocs.io/en/latest/>`_.
You can get the latest version from its `github repository
<https://github.com/scikit-learn-contrib/scikit-matter>`_ and learn how to use
it from its `documentation <https://scikit-matter.readthedocs.io/en/latest/>`_.

- examples/sample-selection/sample-selection
- examples/roy-gch/roy-gch
- examples/lpr/lpr
- examples/gaas-map/gaas-map

2 changes: 2 additions & 0 deletions docs/src/topics/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.rst
!index.rst
6 changes: 3 additions & 3 deletions docs/src/topics/ml-models.sec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Machine learning models
=======================

This section contains recipes that concern the training of
machine-learning models, or the pre-processing of data to
optimize the model architecture or data.
This section contains recipes that concern the training of machine-learning
models, or the pre-processing of data to optimize the model architecture or
data.

- examples/dos-align/dos-align
- examples/lode-linear/lode-linear
Expand Down
9 changes: 4 additions & 5 deletions docs/src/topics/nqes.sec
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Nuclear quantum effects
=======================

Most atomistic simulations treat nuclei as classical particles,
that sample a Boltzmann distribuion. This approximation breaks
down for light nuclei (hydrogen above all) and high-frequency
vibrations, requiring more sophisticated statistical sampling
to compute accurate statistical and dynamical properties.
Most atomistic simulations treat nuclei as classical particles, that sample a
Boltzmann distribution. This approximation breaks down for light nuclei
(hydrogen above all) and high-frequency vibrations, requiring more sophisticated
statistical sampling to compute accurate statistical and dynamical properties.

- examples/path-integrals/path-integrals
- examples/pi-metad/pi-metad
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/sampling.sec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Statistical sampling and dynamics
=================================

This section contains recipes that compute thermodynamic averages by sampling,
evaluates dynamical properties, or otherwise computes the properties of a
evaluates dynamical properties, or otherwise computes the properties of a
set of configurations of an atomistic system.

- examples/path-integrals/path-integrals
Expand Down
1 change: 1 addition & 0 deletions examples/gaas-map/gaas-map.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
from skmatter.decomposition import PCovR
from skmatter.preprocessing import StandardFlexibleScaler


# sphinx_gallery_thumbnail_number = 2

######################################################################
Expand Down

0 comments on commit f0e68e4

Please sign in to comment.