Skip to content

Commit

Permalink
[docs] changed docstring basecv
Browse files Browse the repository at this point in the history
  • Loading branch information
luigibonati committed Oct 24, 2023
1 parent ea107e2 commit 4e5a2ba
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions docs/autosummary/mlcolvar.cvs.BaseCV.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
mlcolvar.cvs.BaseCV
===================

.. currentmodule:: mlcolvar.cvs

.. autoclass:: BaseCV
:members:
:show-inheritance:
:inherited-members: Module,LightningModule


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~BaseCV.__init__
~BaseCV.configure_optimizers
~BaseCV.forward
~BaseCV.forward_cv
~BaseCV.initialize_blocks
~BaseCV.initialize_transforms
~BaseCV.parse_options
~BaseCV.setup
~BaseCV.test_step
~BaseCV.validation_step




..

.. rubric:: Attributes

.. autosummary::

~BaseCV.example_input_array
~BaseCV.n_cvs
~BaseCV.optimizer_name




2 changes: 2 additions & 0 deletions mlcolvar/cvs/cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

class BaseCV:
"""
Base collective variable class.
To inherit from this class, the class must define a BLOCKS class attribute.
"""

Expand Down

0 comments on commit 4e5a2ba

Please sign in to comment.