Source code for BioSimSpace.Metadynamics.CollectiveVariable._utils
####################################################################### BioSimSpace: Making biomolecular simulation a breeze!## Copyright: 2017-2024## Authors: Lester Hedges <lester.hedges@gmail.com>## BioSimSpace is free software: you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation, either version 3 of the License, or# (at your option) any later version.## BioSimSpace is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with BioSimSpace. If not, see <http://www.gnu.org/licenses/>.#####################################################################"""Utility functions."""__author__="Lester Hedges"__email__="lester.hedges@gmail.com"__all__=["list"]from._distanceimport*from._funnelimport*from._torsionimport*# Create a list of the supported collective variables._colvars=[]importsysas_sys_namespace=_sys.modules[__name__]for_varindir():if_var[0]!="_"and_var[0]!=_var[0].lower():_colvars.append(_var)del_namespacedel_sysdel_var
[docs]deflist():""" Return a list of the supported collective variables. Returns ------- colvars : [str] A list of the supported collective variables. """return_colvars