Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Oct 6, 2024
1 parent 768766c commit f2c8be0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/periodic-hamiltonian/periodic-hamiltonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
# Obtain structures and DFT data
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Generating training structures requires running a suitable DFT code,
# Generating training structures requires running a suitable DFT code,
# and converting the output data in a format that can be processed by
# the ML library ``mlelec``. Given that it takes some time to run even
# these small calculations, we provide pre-computed data, but you can
# also find instructions on how to generate data from scratch.
# these small calculations, we provide pre-computed data, but you can
# also find instructions on how to generate data from scratch.

# %%
# Run your own cp2k calculations
Expand All @@ -78,7 +78,7 @@
# for another data set, adapt the reftraj file.
# We will provide here some of the functions in the `batch-cp2k
# tutorial <https://tinyurl.com/cp2krun>`__ that need to be adapted to the
# current data set. Note however you will have to modify these and combine
# current data set. Note however you will have to modify these and combine
# them with other tutorials to actually generate the data.


Expand Down Expand Up @@ -472,8 +472,8 @@
# which express the Hamiltonian blocks in terms of contributions that
# rotate independently and can be modeled using a feature that
# geometrically describes the pair of atoms under consideration and shares
# the same symmetry. We use the notation
# :math:`H_{ii';nn'll'}^{\lambda\mu}` to indicate the elements of the
# the same symmetry. We use the notation
# :math:`H_{ii';nn'll'}^{\lambda\mu}` to indicate the elements of the
# Hamiltonian in this coupled basis.
#
# The resulting irreps form a *coupled* representation, each of which
Expand Down Expand Up @@ -904,8 +904,8 @@ def update(frame):
# Hamiltonian coupled block. Nonlinearities are applied to the invariants
# constructed from each equivariant feature block using the
# ``EquivariantNonlinearity`` module. This section outlines the process to
# modify the model to introduce non-linear terms. Given that the time
# to train and evaluate the model would then increase, this section
# modify the model to introduce non-linear terms. Given that the time
# to train and evaluate the model would then increase, this section
# includes snippets of code, but is not a complete implementation and
# is not executed when running this example.

Expand Down

0 comments on commit f2c8be0

Please sign in to comment.